removeWhere static method

Future<void> removeWhere(
  1. bool test(
    1. String key,
    2. Object value
    )
)

Deletes every key that matches test. ULocalStorage.removeWhere((k, v) => k.startsWith("cache_"))

Implementation

static Future<void> removeWhere(bool Function(String key, Object value) test) => Future.wait(<Future<void>>[UStorage.instance.removeWhere(test), UStorage.secure.removeWhere(test)]);