Toggles the wakelock based on the given enable value.
enable
@override Future<void> toggle({required bool enable}) async { await _channel.invokeMethod('toggle', <String, dynamic>{ 'enable': enable, }); }