GetEBSVolumeRecommendationsResponse.fromJson constructor
GetEBSVolumeRecommendationsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetEBSVolumeRecommendationsResponse.fromJson(
Map<String, dynamic> json) {
return GetEBSVolumeRecommendationsResponse(
errors: (json['errors'] as List?)
?.whereNotNull()
.map(
(e) => GetRecommendationError.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
volumeRecommendations: (json['volumeRecommendations'] as List?)
?.whereNotNull()
.map((e) => VolumeRecommendation.fromJson(e as Map<String, dynamic>))
.toList(),
);
}