toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (fqdn != null) 'fqdn': fqdn!,
      if (instance != null) 'instance': instance!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (port != null) 'port': port!,
    };