toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (IPv4Range != null) 'IPv4Range': IPv4Range!,
      if (autoCreateSubnetworks != null)
        'autoCreateSubnetworks': autoCreateSubnetworks!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (enableUlaInternalIpv6 != null)
        'enableUlaInternalIpv6': enableUlaInternalIpv6!,
      if (firewallPolicy != null) 'firewallPolicy': firewallPolicy!,
      if (gatewayIPv4 != null) 'gatewayIPv4': gatewayIPv4!,
      if (id != null) 'id': id!,
      if (internalIpv6Range != null) 'internalIpv6Range': internalIpv6Range!,
      if (kind != null) 'kind': kind!,
      if (mtu != null) 'mtu': mtu!,
      if (name != null) 'name': name!,
      if (networkFirewallPolicyEnforcementOrder != null)
        'networkFirewallPolicyEnforcementOrder':
            networkFirewallPolicyEnforcementOrder!,
      if (peerings != null) 'peerings': peerings!,
      if (routingConfig != null) 'routingConfig': routingConfig!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
      if (subnetworks != null) 'subnetworks': subnetworks!,
    };