ListDatabasesResponse.fromJson constructor

ListDatabasesResponse.fromJson(
  1. Map json_
)

Implementation

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