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