Input$PromotionUpdateInput constructor

Input$PromotionUpdateInput({
  1. DateTime? startDate,
  2. DateTime? endDate,
  3. Enum$PromotionStatusEnum? status,
  4. List<Input$PromotionProductsInput>? promotion,
})

Implementation

factory Input$PromotionUpdateInput({
  DateTime? startDate,
  DateTime? endDate,
  Enum$PromotionStatusEnum? status,
  List<Input$PromotionProductsInput>? promotion,
}) =>
    Input$PromotionUpdateInput._({
      if (startDate != null) r'startDate': startDate,
      if (endDate != null) r'endDate': endDate,
      if (status != null) r'status': status,
      if (promotion != null) r'promotion': promotion,
    });