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