wake_lock_toggle method

  1. @override
Future<void> wake_lock_toggle({
  1. required bool enable,
})
override

Implementation

@override
Future<void> wake_lock_toggle({
  required bool enable,
}) async {
  await WakelockPlus.toggle(enable: enable);
}