DescribeFleetUtilizationOutput.fromJson constructor

DescribeFleetUtilizationOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeFleetUtilizationOutput.fromJson(Map<String, dynamic> json) {
  return DescribeFleetUtilizationOutput(
    fleetUtilization: (json['FleetUtilization'] as List?)
        ?.whereNotNull()
        .map((e) => FleetUtilization.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}