stopScan method

Future<void> stopScan()

Stop scan code.

Implementation

Future<void> stopScan() async {
  try {
    await channel?.invokeMethod('stopScan');
  } on PlatformException catch (e) {
    throw CodeScannerException(e.code, e.message);
  }
}