GoogleFirestoreAdminV1beta2IndexConfig.fromJson constructor
GoogleFirestoreAdminV1beta2IndexConfig.fromJson(
- Map _json
Implementation
GoogleFirestoreAdminV1beta2IndexConfig.fromJson(core.Map _json)
: this(
ancestorField: _json.containsKey('ancestorField')
? _json['ancestorField'] as core.String
: null,
indexes: _json.containsKey('indexes')
? (_json['indexes'] as core.List)
.map((value) => GoogleFirestoreAdminV1beta2Index.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
reverting: _json.containsKey('reverting')
? _json['reverting'] as core.bool
: null,
usesAncestorConfig: _json.containsKey('usesAncestorConfig')
? _json['usesAncestorConfig'] as core.bool
: null,
);