onScan property

void Function(String) onScan
final

Function that gets Called when barcode is scanned successfully

Implementation

final void Function(String) onScan;