toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (deployedIndexes != null) 'deployedIndexes': deployedIndexes!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (enablePrivateServiceConnect != null)
        'enablePrivateServiceConnect': enablePrivateServiceConnect!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (privateServiceConnectConfig != null)
        'privateServiceConnectConfig': privateServiceConnectConfig!,
      if (publicEndpointDomainName != null)
        'publicEndpointDomainName': publicEndpointDomainName!,
      if (publicEndpointEnabled != null)
        'publicEndpointEnabled': publicEndpointEnabled!,
      if (updateTime != null) 'updateTime': updateTime!,
    };