update printer
This commit is contained in:
@@ -1003,6 +1003,8 @@ mixin _$OrderItem {
|
||||
DateTime get updatedAt => throw _privateConstructorUsedError;
|
||||
String get printerType => throw _privateConstructorUsedError;
|
||||
int get paidQuantity => throw _privateConstructorUsedError;
|
||||
String get categoryId => throw _privateConstructorUsedError;
|
||||
String get categoryName => throw _privateConstructorUsedError;
|
||||
|
||||
/// Create a copy of OrderItem
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@@ -1033,6 +1035,8 @@ abstract class $OrderItemCopyWith<$Res> {
|
||||
DateTime updatedAt,
|
||||
String printerType,
|
||||
int paidQuantity,
|
||||
String categoryId,
|
||||
String categoryName,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1067,6 +1071,8 @@ class _$OrderItemCopyWithImpl<$Res, $Val extends OrderItem>
|
||||
Object? updatedAt = null,
|
||||
Object? printerType = null,
|
||||
Object? paidQuantity = null,
|
||||
Object? categoryId = null,
|
||||
Object? categoryName = null,
|
||||
}) {
|
||||
return _then(
|
||||
_value.copyWith(
|
||||
@@ -1134,6 +1140,14 @@ class _$OrderItemCopyWithImpl<$Res, $Val extends OrderItem>
|
||||
? _value.paidQuantity
|
||||
: paidQuantity // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
categoryId: null == categoryId
|
||||
? _value.categoryId
|
||||
: categoryId // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
categoryName: null == categoryName
|
||||
? _value.categoryName
|
||||
: categoryName // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
)
|
||||
as $Val,
|
||||
);
|
||||
@@ -1166,6 +1180,8 @@ abstract class _$$OrderItemImplCopyWith<$Res>
|
||||
DateTime updatedAt,
|
||||
String printerType,
|
||||
int paidQuantity,
|
||||
String categoryId,
|
||||
String categoryName,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1199,6 +1215,8 @@ class __$$OrderItemImplCopyWithImpl<$Res>
|
||||
Object? updatedAt = null,
|
||||
Object? printerType = null,
|
||||
Object? paidQuantity = null,
|
||||
Object? categoryId = null,
|
||||
Object? categoryName = null,
|
||||
}) {
|
||||
return _then(
|
||||
_$OrderItemImpl(
|
||||
@@ -1266,6 +1284,14 @@ class __$$OrderItemImplCopyWithImpl<$Res>
|
||||
? _value.paidQuantity
|
||||
: paidQuantity // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
categoryId: null == categoryId
|
||||
? _value.categoryId
|
||||
: categoryId // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
categoryName: null == categoryName
|
||||
? _value.categoryName
|
||||
: categoryName // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -1291,6 +1317,8 @@ class _$OrderItemImpl implements _OrderItem {
|
||||
required this.updatedAt,
|
||||
required this.printerType,
|
||||
required this.paidQuantity,
|
||||
required this.categoryId,
|
||||
required this.categoryName,
|
||||
}) : _modifiers = modifiers;
|
||||
|
||||
@override
|
||||
@@ -1331,10 +1359,14 @@ class _$OrderItemImpl implements _OrderItem {
|
||||
final String printerType;
|
||||
@override
|
||||
final int paidQuantity;
|
||||
@override
|
||||
final String categoryId;
|
||||
@override
|
||||
final String categoryName;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'OrderItem(id: $id, orderId: $orderId, productId: $productId, productName: $productName, productVariantId: $productVariantId, productVariantName: $productVariantName, quantity: $quantity, unitPrice: $unitPrice, totalPrice: $totalPrice, modifiers: $modifiers, notes: $notes, status: $status, createdAt: $createdAt, updatedAt: $updatedAt, printerType: $printerType, paidQuantity: $paidQuantity)';
|
||||
return 'OrderItem(id: $id, orderId: $orderId, productId: $productId, productName: $productName, productVariantId: $productVariantId, productVariantName: $productVariantName, quantity: $quantity, unitPrice: $unitPrice, totalPrice: $totalPrice, modifiers: $modifiers, notes: $notes, status: $status, createdAt: $createdAt, updatedAt: $updatedAt, printerType: $printerType, paidQuantity: $paidQuantity, categoryId: $categoryId, categoryName: $categoryName)';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -1371,7 +1403,11 @@ class _$OrderItemImpl implements _OrderItem {
|
||||
(identical(other.printerType, printerType) ||
|
||||
other.printerType == printerType) &&
|
||||
(identical(other.paidQuantity, paidQuantity) ||
|
||||
other.paidQuantity == paidQuantity));
|
||||
other.paidQuantity == paidQuantity) &&
|
||||
(identical(other.categoryId, categoryId) ||
|
||||
other.categoryId == categoryId) &&
|
||||
(identical(other.categoryName, categoryName) ||
|
||||
other.categoryName == categoryName));
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -1393,6 +1429,8 @@ class _$OrderItemImpl implements _OrderItem {
|
||||
updatedAt,
|
||||
printerType,
|
||||
paidQuantity,
|
||||
categoryId,
|
||||
categoryName,
|
||||
);
|
||||
|
||||
/// Create a copy of OrderItem
|
||||
@@ -1422,6 +1460,8 @@ abstract class _OrderItem implements OrderItem {
|
||||
required final DateTime updatedAt,
|
||||
required final String printerType,
|
||||
required final int paidQuantity,
|
||||
required final String categoryId,
|
||||
required final String categoryName,
|
||||
}) = _$OrderItemImpl;
|
||||
|
||||
@override
|
||||
@@ -1456,6 +1496,10 @@ abstract class _OrderItem implements OrderItem {
|
||||
String get printerType;
|
||||
@override
|
||||
int get paidQuantity;
|
||||
@override
|
||||
String get categoryId;
|
||||
@override
|
||||
String get categoryName;
|
||||
|
||||
/// Create a copy of OrderItem
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
|
||||
Reference in New Issue
Block a user