BudgetedAndActualAmounts.fromJson constructor
BudgetedAndActualAmounts.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BudgetedAndActualAmounts.fromJson(Map<String, dynamic> json) {
return BudgetedAndActualAmounts(
actualAmount: json['ActualAmount'] != null
? Spend.fromJson(json['ActualAmount'] as Map<String, dynamic>)
: null,
budgetedAmount: json['BudgetedAmount'] != null
? Spend.fromJson(json['BudgetedAmount'] as Map<String, dynamic>)
: null,
timePeriod: json['TimePeriod'] != null
? TimePeriod.fromJson(json['TimePeriod'] as Map<String, dynamic>)
: null,
);
}