toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (addressType != null) 'addressType': addressType!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (ipVersion != null) 'ipVersion': ipVersion!,
      if (ipv6EndpointType != null) 'ipv6EndpointType': ipv6EndpointType!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (networkTier != null) 'networkTier': networkTier!,
      if (prefixLength != null) 'prefixLength': prefixLength!,
      if (purpose != null) 'purpose': purpose!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
      if (users != null) 'users': users!,
    };