Method called after the barcode is successfuly read and converted.
final Future<dynamic> Function(String value) onSuccess;