isKeptOn property

Future<bool> isKeptOn

Static property to get is the screen is keeping on or not

Implementation

static Future<bool> get isKeptOn async =>
    (await _channel.invokeMethod('isKeptOn')) as bool;