feat: delivery type
This commit is contained in:
@@ -5,16 +5,18 @@ class CheckoutState with _$CheckoutState {
|
||||
const factory CheckoutState.initial() = _Initial;
|
||||
const factory CheckoutState.loading() = _Loading;
|
||||
const factory CheckoutState.loaded(
|
||||
List<ProductQuantity> items,
|
||||
Discount? discountModel,
|
||||
int discount,
|
||||
int discountAmount,
|
||||
int tax,
|
||||
int serviceCharge,
|
||||
int totalQuantity,
|
||||
int totalPrice,
|
||||
String draftName,
|
||||
OrderType orderType) = _Loaded;
|
||||
List<ProductQuantity> items,
|
||||
Discount? discountModel,
|
||||
int discount,
|
||||
int discountAmount,
|
||||
int tax,
|
||||
int serviceCharge,
|
||||
int totalQuantity,
|
||||
int totalPrice,
|
||||
String draftName,
|
||||
OrderType orderType,
|
||||
DeliveryModel? deliveryType,
|
||||
) = _Loaded;
|
||||
const factory CheckoutState.error(String message) = _Error;
|
||||
|
||||
//save draft order
|
||||
|
||||
Reference in New Issue
Block a user