PromotionPromotionStatus.fromJson constructor
PromotionPromotionStatus.fromJson(
- Map json_
Implementation
PromotionPromotionStatus.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) =>
PromotionPromotionStatusDestinationStatus.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
lastUpdateDate: json_.containsKey('lastUpdateDate')
? json_['lastUpdateDate'] as core.String
: null,
promotionIssue: json_.containsKey('promotionIssue')
? (json_['promotionIssue'] as core.List)
.map((value) =>
PromotionPromotionStatusPromotionIssue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);