@override Future<bool?> isANREnabled() async { try { return methodChannel.invokeMethod<bool>("isANREnabled"); } on PlatformException catch (e, s) { print(s); return true; } }