SavingsOverTime.fromJson constructor
SavingsOverTime.fromJson(
- Map json_
Implementation
SavingsOverTime.fromJson(core.Map json_)
: this(
financiallyViable: json_.containsKey('financiallyViable')
? json_['financiallyViable'] as core.bool
: null,
presentValueOfSavingsLifetime:
json_.containsKey('presentValueOfSavingsLifetime')
? Money.fromJson(json_['presentValueOfSavingsLifetime']
as core.Map<core.String, core.dynamic>)
: null,
presentValueOfSavingsYear20:
json_.containsKey('presentValueOfSavingsYear20')
? Money.fromJson(json_['presentValueOfSavingsYear20']
as core.Map<core.String, core.dynamic>)
: null,
savingsLifetime: json_.containsKey('savingsLifetime')
? Money.fromJson(json_['savingsLifetime']
as core.Map<core.String, core.dynamic>)
: null,
savingsYear1: json_.containsKey('savingsYear1')
? Money.fromJson(
json_['savingsYear1'] as core.Map<core.String, core.dynamic>)
: null,
savingsYear20: json_.containsKey('savingsYear20')
? Money.fromJson(
json_['savingsYear20'] as core.Map<core.String, core.dynamic>)
: null,
);