TriggerOrderCreateDto constructor

TriggerOrderCreateDto({
  1. required int clientId,
  2. required DateTime createdAt,
  3. required int departmentId,
  4. required String districtId,
  5. required int id,
  6. required bool isRescheduled,
  7. required bool isReturned,
  8. required bool isSaved,
  9. required DateTime plannedDate,
  10. required int plannedDateDuration,
  11. required bool positionsToBeSent,
  12. required bool resale,
  13. required int rescheduleCount,
  14. required String shortCode,
  15. required DateTime statusUpdatedAt,
  16. String? telegramUserEmail,
  17. required bool test,
  18. required int totalCents,
  19. String? umbrellaID,
  20. required DateTime updatedAt,
  21. String? reasonRefusal,
  22. List<TriggerOrderComment>? orderComments,
  23. String? comment,
  24. DateTime? deliveredDate,
  25. int? deliveryPrice,
  26. String? discountId,
  27. List? discounts,
  28. String? driverId,
  29. int? driverRefuseReasonId,
  30. String? externalKey,
  31. int? externalKeyVendorDatalinkId,
  32. String? externalStatus,
  33. bool? important,
  34. int? operatorRefuseReasonId,
  35. DateTime? paymentExpirationDate,
  36. String? paymentType,
  37. String? paymentUrl,
  38. int? shipmentId,
  39. String? statusName,
  40. String? system,
  41. int? vendorDatalinkId,
  42. int? warehouseID,
})

Implementation

TriggerOrderCreateDto({
  required this.clientId,
  required this.createdAt,
  required this.departmentId,
  required this.districtId,
  required this.id,
  required this.isRescheduled,
  required this.isReturned,
  required this.isSaved,
  required this.plannedDate,
  required this.plannedDateDuration,
  required this.positionsToBeSent,
  required this.resale,
  required this.rescheduleCount,
  required this.shortCode,
  required this.statusUpdatedAt,
  this.telegramUserEmail,
  required this.test,
  required this.totalCents,
  this.umbrellaID,
  required this.updatedAt,

  this.reasonRefusal,
  this.orderComments,
  this.comment,
  this.deliveredDate,
  this.deliveryPrice,
  this.discountId,
  this.discounts,
  this.driverId,
  this.driverRefuseReasonId,
  this.externalKey,
  this.externalKeyVendorDatalinkId,
  this.externalStatus,
  this.important,
  this.operatorRefuseReasonId,
  this.paymentExpirationDate,
  this.paymentType,
  this.paymentUrl,
  this.shipmentId,
  this.statusName,
  this.system,
  this.vendorDatalinkId,
  this.warehouseID,
});