toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (displayName != null) 'displayName': displayName!,
if (linkedResource != null) 'linkedResource': linkedResource!,
if (location != null) 'location': location!,
if (type != null) 'type': type!,
};