openAppSettings method

  1. @override
Future<bool> openAppSettings()
override

Open the App settings page

Returns true if app settings page could be opened, otherwise false is returned

Implementation

@override
Future<bool> openAppSettings() async {
  try {
    return await methodChannel.invokeMethod(Methods.openAppSettings);
  } on PlatformException catch (e) {
    final error = _handlePlatformException(e);
    throw error;
  }
}