ListPromotionsResponse.fromJson constructor
ListPromotionsResponse.fromJson(
- Map json_
Implementation
ListPromotionsResponse.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(),
);