ListFleetsResponse.fromJson constructor
Implementation
factory ListFleetsResponse.fromJson(Map<String, dynamic> json) {
return ListFleetsResponse(
fleetDetails: (json['fleetDetails'] as List?)
?.whereNotNull()
.map((e) => Fleet.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}