ListDatabasesResponse.fromJson constructor

ListDatabasesResponse.fromJson(
  1. Map _json
)

Implementation

ListDatabasesResponse.fromJson(core.Map _json) {
  if (_json.containsKey("databases")) {
    databases = (_json["databases"] as core.List)
        .map<Database>((value) => new Database.fromJson(value))
        .toList();
  }
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
}