ProductStatus.fromJson constructor
ProductStatus.fromJson(
- Map json_
Implementation
ProductStatus.fromJson(core.Map json_)
: this(
creationDate: json_.containsKey('creationDate')
? json_['creationDate'] as core.String
: null,
destinationStatuses: json_.containsKey('destinationStatuses')
? (json_['destinationStatuses'] as core.List)
.map((value) => ProductStatusDestinationStatus.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
googleExpirationDate: json_.containsKey('googleExpirationDate')
? json_['googleExpirationDate'] as core.String
: null,
itemLevelIssues: json_.containsKey('itemLevelIssues')
? (json_['itemLevelIssues'] as core.List)
.map((value) => ProductStatusItemLevelIssue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
lastUpdateDate: json_.containsKey('lastUpdateDate')
? json_['lastUpdateDate'] as core.String
: null,
link: json_.containsKey('link') ? json_['link'] as core.String : null,
productId: json_.containsKey('productId')
? json_['productId'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);