keepOn static method

Future<void> keepOn(
  1. bool on
)

Static method to set the screen keeping on or not

Implementation

static Future<void> keepOn(bool on) =>
    _channel.invokeMethod('keepOn', {"on": on});