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