toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (discoveryEndpointIpAddress != null)
        'discoveryEndpointIpAddress': discoveryEndpointIpAddress!,
      if (displayName != null) 'displayName': displayName!,
      if (location != null) 'location': location!,
      if (networkUri != null) 'networkUri': networkUri!,
      if (secondaryEndpointIpAddress != null)
        'secondaryEndpointIpAddress': secondaryEndpointIpAddress!,
      if (uri != null) 'uri': uri!,
    };