startInventory static method
Implementation
static Future<void> startInventory(Function(String) onTagScanned) async {
_channel.setMethodCallHandler((call) async {
if (call.method == "onTagScanned") {
onTagScanned(call.arguments);
}
});
await _channel.invokeMethod('startInventory');
}