toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (availabilityZone != null) 'availabilityZone': availabilityZone!,
      if (availableFeatures != null) 'availableFeatures': availableFeatures!,
      if (availableLinkTypes != null)
        'availableLinkTypes': availableLinkTypes!,
      if (city != null) 'city': city!,
      if (continent != null) 'continent': continent!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (facilityProvider != null) 'facilityProvider': facilityProvider!,
      if (facilityProviderFacilityId != null)
        'facilityProviderFacilityId': facilityProviderFacilityId!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (peeringdbFacilityId != null)
        'peeringdbFacilityId': peeringdbFacilityId!,
      if (regionInfos != null) 'regionInfos': regionInfos!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (supportsPzs != null) 'supportsPzs': supportsPzs!,
    };