GoogleFirestoreAdminV1Index.fromJson constructor
GoogleFirestoreAdminV1Index.fromJson(
- Map _json
Implementation
GoogleFirestoreAdminV1Index.fromJson(core.Map _json)
: this(
fields: _json.containsKey('fields')
? (_json['fields'] as core.List)
.map((value) => GoogleFirestoreAdminV1IndexField.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,
);