enable static method
Enables the wakelock.
This can simply be called using WakelockPlus.enable()
and does not return
anything.
You can await the Future to wait for the operation to complete.
See also:
Implementation
static Future<void> enable() => toggle(enable: true);