releaseWakeLock static method

Future<void> releaseWakeLock()

Tells the foreground service to release the wake lock, if it's holding one

Implementation

static Future<void> releaseWakeLock() async {
  await _invokeMainChannel("releaseWakeLock");
}