@override Future<bool> cancel() async { try { return await methodChannel.invokeMethod('cancel'); } on PlatformException catch (error) { debugPrint("$error"); return false; } }