SettlementReport.fromJson constructor
SettlementReport.fromJson(
- Map json_
Implementation
SettlementReport.fromJson(core.Map json_)
: this(
endDate: json_.containsKey('endDate')
? json_['endDate'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
previousBalance: json_.containsKey('previousBalance')
? Price.fromJson(json_['previousBalance']
as core.Map<core.String, core.dynamic>)
: null,
settlementId: json_.containsKey('settlementId')
? json_['settlementId'] as core.String
: null,
startDate: json_.containsKey('startDate')
? json_['startDate'] as core.String
: null,
transferAmount: json_.containsKey('transferAmount')
? Price.fromJson(json_['transferAmount']
as core.Map<core.String, core.dynamic>)
: null,
transferDate: json_.containsKey('transferDate')
? json_['transferDate'] as core.String
: null,
transferIds: json_.containsKey('transferIds')
? (json_['transferIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);