ScanProductCardFound constructor
- required Product product,
- required OnRemoveCallback? onRemoveProduct,
Implementation
ScanProductCardFound({required this.product, required this.onRemoveProduct})
: assert(product.barcode!.isNotEmpty),
super(key: Key(product.barcode!));