ListPromotionResponse.fromJson constructor
ListPromotionResponse.fromJson(
- Map json_
Implementation
ListPromotionResponse.fromJson(core.Map json_)
: this(
nextPageToken: json_['nextPageToken'] as core.String?,
promotions: (json_['promotions'] as core.List?)
?.map((value) => Promotion.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
);