LeasingSavings.fromJson constructor
LeasingSavings.fromJson(
- Map json_
Implementation
LeasingSavings.fromJson(core.Map json_)
: this(
annualLeasingCost: json_.containsKey('annualLeasingCost')
? Money.fromJson(json_['annualLeasingCost']
as core.Map<core.String, core.dynamic>)
: null,
leasesAllowed: json_.containsKey('leasesAllowed')
? json_['leasesAllowed'] as core.bool
: null,
leasesSupported: json_.containsKey('leasesSupported')
? json_['leasesSupported'] as core.bool
: null,
savings: json_.containsKey('savings')
? SavingsOverTime.fromJson(
json_['savings'] as core.Map<core.String, core.dynamic>)
: null,
);