1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-18 15:58:04 +00:00

Rename plugins interfaces module

This commit is contained in:
2020-04-24 12:21:09 +02:00
parent ae391ab691
commit 2cf017ad2d
2 changed files with 1 additions and 1 deletions

View File

@ -0,0 +1,9 @@
import 'package:wakelock/wakelock.dart';
/// Wake lock plugin interface
///
/// @author Pierre Hubert
/// Interface for requesting device wake locking
Future<void> setWakeLock(bool enabled) async =>
await Wakelock.toggle(on: enabled);