toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (externalIpv6 != null) 'externalIpv6': externalIpv6!,
      if (externalIpv6PrefixLength != null)
        'externalIpv6PrefixLength': externalIpv6PrefixLength!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (natIP != null) 'natIP': natIP!,
      if (networkTier != null) 'networkTier': networkTier!,
      if (publicPtrDomainName != null)
        'publicPtrDomainName': publicPtrDomainName!,
      if (securityPolicy != null) 'securityPolicy': securityPolicy!,
      if (setPublicPtr != null) 'setPublicPtr': setPublicPtr!,
      if (type != null) 'type': type!,
    };