deleteAll static method

Future deleteAll({
  1. bool andFromBackpack = false,
})

Deletes all keys with associated values.

Implementation

static Future deleteAll({bool andFromBackpack = false}) async {
  if (andFromBackpack == true) {
    Backpack.instance.deleteAll();
  }
  await manager().deleteAll();
}