SavingsPlansUtilizationByTime.fromJson constructor
SavingsPlansUtilizationByTime.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SavingsPlansUtilizationByTime.fromJson(Map<String, dynamic> json) {
return SavingsPlansUtilizationByTime(
timePeriod:
DateInterval.fromJson(json['TimePeriod'] as Map<String, dynamic>),
utilization: SavingsPlansUtilization.fromJson(
json['Utilization'] as Map<String, dynamic>),
amortizedCommitment: json['AmortizedCommitment'] != null
? SavingsPlansAmortizedCommitment.fromJson(
json['AmortizedCommitment'] as Map<String, dynamic>)
: null,
savings: json['Savings'] != null
? SavingsPlansSavings.fromJson(
json['Savings'] as Map<String, dynamic>)
: null,
);
}