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