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