PromotionNotApplied constructor

PromotionNotApplied({
  1. PromotionId? promotionId,
  2. PromotionId? blockedBy,
})

Implementation

factory PromotionNotApplied({
  $1.PromotionId? promotionId,
  $1.PromotionId? blockedBy,
}) {
  final result = create();
  if (promotionId != null) result.promotionId = promotionId;
  if (blockedBy != null) result.blockedBy = blockedBy;
  return result;
}