toJson method Null safety
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (identifier != null) 'identifier': identifier!,
if (type != null) 'type': type!,
};
core.Map<core.String, core.dynamic> toJson() => {
if (identifier != null) 'identifier': identifier!,
if (type != null) 'type': type!,
};