AccountStatusProducts.fromJson constructor
AccountStatusProducts.fromJson(
- Map json_
Implementation
AccountStatusProducts.fromJson(core.Map json_)
: this(
channel: json_.containsKey('channel')
? json_['channel'] as core.String
: null,
country: json_.containsKey('country')
? json_['country'] as core.String
: null,
destination: json_.containsKey('destination')
? json_['destination'] as core.String
: null,
itemLevelIssues: json_.containsKey('itemLevelIssues')
? (json_['itemLevelIssues'] as core.List)
.map((value) => AccountStatusItemLevelIssue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
statistics: json_.containsKey('statistics')
? AccountStatusStatistics.fromJson(
json_['statistics'] as core.Map<core.String, core.dynamic>)
: null,
);