isOn property

  1. @override
Future<bool?> isOn
override

Returns true if automatic screen off is disabled.

Implementation

@override
Future<bool?> get isOn {
  return _methodChannel.invokeMethod<bool>('isOn');
}