toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (hostName != null) 'hostName': hostName!,
      if (ipv4Addresses != null) 'ipv4Addresses': ipv4Addresses!,
      if (ipv6Addresses != null) 'ipv6Addresses': ipv6Addresses!,
    };