GetRecommendationsResponse.fromJson constructor
Implementation
factory GetRecommendationsResponse.fromJson(Map<String, dynamic> json) {
return GetRecommendationsResponse(
itemList: (json['itemList'] as List?)
?.whereNotNull()
.map((e) => PredictedItem.fromJson(e as Map<String, dynamic>))
.toList(),
recommendationId: json['recommendationId'] as String?,
);
}