toggleKeepScreenOn method

Future<void> toggleKeepScreenOn({
  1. required bool isKeep,
})

Implementation

Future<void> toggleKeepScreenOn({required bool isKeep}) async {
  await _channel.invokeMethod('$_name/toggleKeepScreenOn', {
    'is_keep': isKeep,
  });
}