ListDatabaseInstancesResponse.fromJson constructor

ListDatabaseInstancesResponse.fromJson(
  1. Map _json
)

Implementation

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