toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (forwardingPath != null) 'forwardingPath': forwardingPath!,
      if (ipv4Address != null) 'ipv4Address': ipv4Address!,
      if (ipv6Address != null) 'ipv6Address': ipv6Address!,
      if (kind != null) 'kind': kind!,
    };