clear method

Future<void> clear()

Deletes all the locks stored in the database.

Implementation

Future<void> clear() async {
  await safe((db) async {
    await db.delete(db.locks).go();
  }, tag: 'lock.clear()');
}