ListFleetsResponse.fromJson constructor
ListFleetsResponse.fromJson(
- Map json_
Implementation
ListFleetsResponse.fromJson(core.Map json_)
: this(
fleets: json_.containsKey('fleets')
? (json_['fleets'] as core.List)
.map((value) => Fleet.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
);