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