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