toJson method

Map<String, dynamic> toJson()

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!,
    };