setOnScanned method
Implementation
void setOnScanned(Function(String) callback) {
log("Setting onScanned callback");
_onScanned = callback;
}
void setOnScanned(Function(String) callback) {
log("Setting onScanned callback");
_onScanned = callback;
}