first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
part of 'order_bloc.dart';
|
||||
|
||||
@freezed
|
||||
class OrderEvent with _$OrderEvent {
|
||||
const factory OrderEvent.started() = _Started;
|
||||
const factory OrderEvent.order(
|
||||
List<ProductQuantity> items,
|
||||
int discount,
|
||||
int discountAmount,
|
||||
int tax,
|
||||
int serviceCharge,
|
||||
int paymentAmount,
|
||||
String customerName,
|
||||
int tableNumber,
|
||||
String status,
|
||||
String paymentStatus,
|
||||
String paymentMethod,
|
||||
int totalPriceFinal,
|
||||
OrderType orderType,
|
||||
) = _Order;
|
||||
}
|
||||
Reference in New Issue
Block a user