toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (location != null) 'location': location!,
if (metadataId != null) 'metadataId': metadataId!,
if (metadataKey != null) 'metadataKey': metadataKey!,
if (metadataValue != null) 'metadataValue': metadataValue!,
if (visibility != null) 'visibility': visibility!,
};