ScanProductCardFound constructor

ScanProductCardFound({
  1. required Product product,
  2. required OnRemoveCallback? onRemoveProduct,
})

Implementation

ScanProductCardFound({required this.product, required this.onRemoveProduct})
  : assert(product.barcode!.isNotEmpty),
    super(key: Key(product.barcode!));