GoogleFirestoreAdminV1ListFieldsResponse.fromJson constructor

GoogleFirestoreAdminV1ListFieldsResponse.fromJson(
  1. Map _json
)

Implementation

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