update total price
This commit is contained in:
@@ -6,9 +6,9 @@ class ProductQuantity with _$ProductQuantity {
|
||||
required Product product,
|
||||
ProductVariant? variant,
|
||||
required int quantity,
|
||||
String? notes,
|
||||
required String notes,
|
||||
}) = _ProductQuantity;
|
||||
|
||||
factory ProductQuantity.empty() =>
|
||||
ProductQuantity(product: Product.empty(), quantity: 0);
|
||||
ProductQuantity(product: Product.empty(), quantity: 0, notes: '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user