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 (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (etag != null) 'etag': etag!,
      if (indexStats != null) 'indexStats': indexStats!,
      if (indexUpdateMethod != null) 'indexUpdateMethod': indexUpdateMethod!,
      if (labels != null) 'labels': labels!,
      if (metadata != null) 'metadata': metadata!,
      if (metadataSchemaUri != null) 'metadataSchemaUri': metadataSchemaUri!,
      if (name != null) 'name': name!,
      if (updateTime != null) 'updateTime': updateTime!,
    };