GoogleFirestoreAdminV1IndexConfig.fromJson constructor

GoogleFirestoreAdminV1IndexConfig.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1IndexConfig.fromJson(core.Map json_)
    : this(
        ancestorField: json_['ancestorField'] as core.String?,
        indexes: (json_['indexes'] as core.List?)
            ?.map((value) => GoogleFirestoreAdminV1Index.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        reverting: json_['reverting'] as core.bool?,
        usesAncestorConfig: json_['usesAncestorConfig'] as core.bool?,
      );