GoogleFirestoreAdminV1beta1Index.fromJson constructor
GoogleFirestoreAdminV1beta1Index.fromJson(
- Map json_
Implementation
GoogleFirestoreAdminV1beta1Index.fromJson(core.Map json_)
: this(
collectionId: json_.containsKey('collectionId')
? json_['collectionId'] as core.String
: null,
fields: json_.containsKey('fields')
? (json_['fields'] as core.List)
.map((value) =>
GoogleFirestoreAdminV1beta1IndexField.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);