fix: checkout items

This commit is contained in:
efrilm
2025-09-01 22:12:56 +07:00
parent 631ac4bc46
commit dcd739e4a4
11 changed files with 127 additions and 65 deletions
@@ -2,7 +2,7 @@ part of 'checkout_bloc.dart';
@freezed
class CheckoutEvent with _$CheckoutEvent {
const factory CheckoutEvent.started() = _Started;
const factory CheckoutEvent.started(List<ProductQuantity> items) = _Started;
//add item
const factory CheckoutEvent.addItem(
Product product, ProductVariant? variant) = _AddItem;