show static method

Future<bool> show(
  1. DeviceSettingsRequest request
)

This method is designed to be executed from a showPowerManager or showIgnoreBatteryOptimizations callback.

Implementation

static Future<bool> show(DeviceSettingsRequest request) async {
  List<dynamic> args = [request.action];
  return (await _methodChannel.invokeMethod<bool>('showSettings', args))
      as FutureOr<bool>;
}