delete static method

Future<void> delete(
  1. String key, {
  2. bool andFromBackpack = false,
})

Deletes associated value for the given key.

Implementation

static Future<void> delete(String key, {bool andFromBackpack = false}) async {
  if (andFromBackpack == true) {
    Backpack.instance.delete(key);
  }
  await _delete(key);
}