GoogleFirestoreAdminV1beta1ListIndexesResponse.fromJson constructor

GoogleFirestoreAdminV1beta1ListIndexesResponse.fromJson(
  1. Map _json
)

Implementation

GoogleFirestoreAdminV1beta1ListIndexesResponse.fromJson(core.Map _json)
    : this(
        indexes: _json.containsKey('indexes')
            ? (_json['indexes'] as core.List)
                .map((value) => GoogleFirestoreAdminV1beta1Index.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );