@override Future<void> showSettings() async { try { await methodChannel.invokeMethod<void>('showSettings'); } on PlatformException catch (e) { throw SettingsError(e.code, e.message, e.details); } }