Breakdown.fromJson constructor
Breakdown.fromJson(
- Map json_
Implementation
Breakdown.fromJson(core.Map json_)
: this(
details: json_.containsKey('details')
? (json_['details'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
regions: json_.containsKey('regions')
? (json_['regions'] as core.List)
.map((value) => BreakdownRegion.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);