toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectionEndpoints != null)
        'connectionEndpoints': connectionEndpoints!,
      if (connectionPreference != null)
        'connectionPreference': connectionPreference!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (producerAcceptLists != null)
        'producerAcceptLists': producerAcceptLists!,
      if (producerRejectLists != null)
        'producerRejectLists': producerRejectLists!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
      if (subnetworks != null) 'subnetworks': subnetworks!,
    };