InstancesListResponse.fromJson constructor
InstancesListResponse.fromJson(
- Map _json
Implementation
InstancesListResponse.fromJson(core.Map _json)
: this(
items: _json.containsKey('items')
? (_json['items'] as core.List)
.map((value) => DatabaseInstance.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
nextPageToken: _json.containsKey('nextPageToken')
? _json['nextPageToken'] as core.String
: null,
warnings: _json.containsKey('warnings')
? (_json['warnings'] as core.List)
.map((value) => ApiWarning.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);