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,
);