openAppSettings method

Future<bool> openAppSettings()

Open the App settings page.

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

Implementation

Future<bool> openAppSettings() async {
  final bool? hasOpened =
      await _methodChannel.invokeMethod('openAppSettings');

  return hasOpened ?? false;
}