DescribeFleetEventsOutput.fromJson constructor
Implementation
factory DescribeFleetEventsOutput.fromJson(Map<String, dynamic> json) {
return DescribeFleetEventsOutput(
events: (json['Events'] as List?)
?.whereNotNull()
.map((e) => Event.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}