toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (matchedPortRange != null) 'matchedPortRange': matchedPortRange!,
      if (matchedProtocol != null) 'matchedProtocol': matchedProtocol!,
      if (networkUri != null) 'networkUri': networkUri!,
      if (target != null) 'target': target!,
      if (uri != null) 'uri': uri!,
      if (vip != null) 'vip': vip!,
    };