GetSavingsPlansCoverageResponse.fromJson constructor

GetSavingsPlansCoverageResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetSavingsPlansCoverageResponse.fromJson(Map<String, dynamic> json) {
  return GetSavingsPlansCoverageResponse(
    savingsPlansCoverages: (json['SavingsPlansCoverages'] as List)
        .whereNotNull()
        .map((e) => SavingsPlansCoverage.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}