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