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