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