toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (externalIpv6Prefix != null)
        'externalIpv6Prefix': externalIpv6Prefix!,
      if (internalIpv6Prefix != null)
        'internalIpv6Prefix': internalIpv6Prefix!,
      if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
      if (ipv6AccessType != null) 'ipv6AccessType': ipv6AccessType!,
      if (network != null) 'network': network!,
      if (purpose != null) 'purpose': purpose!,
      if (role != null) 'role': role!,
      if (secondaryIpRanges != null) 'secondaryIpRanges': secondaryIpRanges!,
      if (stackType != null) 'stackType': stackType!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
    };