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