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