ListHubsResponse.fromJson constructor
ListHubsResponse.fromJson(
- Map _json
Implementation
ListHubsResponse.fromJson(core.Map _json)
: this(
hubs: _json.containsKey('hubs')
? (_json['hubs'] as core.List)
.map((value) => Hub.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: _json.containsKey('nextPageToken')
? _json['nextPageToken'] as core.String
: null,
unreachable: _json.containsKey('unreachable')
? (_json['unreachable'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);