InsightResults.fromJson constructor
Implementation
factory InsightResults.fromJson(Map<String, dynamic> json) {
return InsightResults(
groupByAttribute: json['GroupByAttribute'] as String,
insightArn: json['InsightArn'] as String,
resultValues: (json['ResultValues'] as List)
.whereNotNull()
.map((e) => InsightResultValue.fromJson(e as Map<String, dynamic>))
.toList(),
);
}