startScan method

Future<void> startScan()
override

Implementation

Future<void> startScan() async {
  try {
    print("Calling start scan");
    methodChannel.invokeMethod('startScan');
  } on PlatformException catch (e) {
    print("Failed to invoke startScan: '${e.message}'.");
  }
}