BusinessOrder constructor

BusinessOrder({
  1. required bool pickup,
  2. required bool delivery,
  3. required bool autoAccept,
  4. required bool cancelFromUser,
  5. required List cashOnDelivery,
  6. required dynamic orderDeliveryCharge,
  7. required int orderPreparationTime,
  8. required String orderDeliveryChargeType,
  9. required String orderDeliveryChargeOnMinAmount,
})

Implementation

BusinessOrder({
  required this.pickup,
  required this.delivery,
  required this.autoAccept,
  required this.cancelFromUser,
  required this.cashOnDelivery,
  required this.orderDeliveryCharge,
  required this.orderPreparationTime,
  required this.orderDeliveryChargeType,
  required this.orderDeliveryChargeOnMinAmount,
});