GoogleFirestoreAdminV1ListDatabasesResponse.fromJson constructor

GoogleFirestoreAdminV1ListDatabasesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1ListDatabasesResponse.fromJson(core.Map json_)
    : this(
        databases: json_.containsKey('databases')
            ? (json_['databases'] as core.List)
                .map((value) => GoogleFirestoreAdminV1Database.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        unreachable: json_.containsKey('unreachable')
            ? (json_['unreachable'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );