FinancedPurchaseSavings.fromJson constructor
FinancedPurchaseSavings.fromJson(
- Map json_
Implementation
FinancedPurchaseSavings.fromJson(core.Map json_)
: this(
annualLoanPayment: json_.containsKey('annualLoanPayment')
? Money.fromJson(json_['annualLoanPayment']
as core.Map<core.String, core.dynamic>)
: null,
loanInterestRate: json_.containsKey('loanInterestRate')
? (json_['loanInterestRate'] as core.num).toDouble()
: null,
rebateValue: json_.containsKey('rebateValue')
? Money.fromJson(
json_['rebateValue'] as core.Map<core.String, core.dynamic>)
: null,
savings: json_.containsKey('savings')
? SavingsOverTime.fromJson(
json_['savings'] as core.Map<core.String, core.dynamic>)
: null,
);