mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
More cleanup
This commit is contained in:
@ -272,9 +272,6 @@ class StockItemBarcodeAssignmentHandler extends BarcodeHandler {
|
||||
final InvenTreeStockItem item;
|
||||
|
||||
StockItemBarcodeAssignmentHandler(this.item) {
|
||||
if (item == null) {
|
||||
throw new AssertionError("null StockItem passed to barcode handler");
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
@ -354,11 +351,7 @@ class StockItemScanIntoLocationHandler extends BarcodeHandler {
|
||||
|
||||
final InvenTreeStockItem item;
|
||||
|
||||
StockItemScanIntoLocationHandler(this.item) {
|
||||
if (item == null) {
|
||||
throw new AssertionError("null StockItem passed to StockItemScanIntoLocationHandler");
|
||||
}
|
||||
}
|
||||
StockItemScanIntoLocationHandler(this.item);
|
||||
|
||||
@override
|
||||
String getOverlayText(BuildContext context) => L10().barcodeScanLocation;
|
||||
@ -419,11 +412,7 @@ class StockLocationScanInItemsHandler extends BarcodeHandler {
|
||||
|
||||
final InvenTreeStockLocation location;
|
||||
|
||||
StockLocationScanInItemsHandler(this.location) {
|
||||
if (location == null) {
|
||||
throw new AssertionError("null StockLocation passed to StockLocationScanInItemsHandler");
|
||||
}
|
||||
}
|
||||
StockLocationScanInItemsHandler(this.location);
|
||||
|
||||
@override
|
||||
String getOverlayText(BuildContext context) => L10().barcodeScanItem;
|
||||
|
Reference in New Issue
Block a user