DescribeFleetAttributesOutput.fromJson constructor

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

Implementation

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