@override Future<void> pause() async { try { await methodChannel.invokeMethod<void>(pauseQRCodeReading); } on PlatformException catch (error) { handlerResult(error); } }