invalidateLists method

void invalidateLists(
  1. String prefix
)

Implementation

void invalidateLists(String prefix) {
  _write(() {
    for (final key in _lists.keys) {
      if (key.startsWith(prefix)) {
        _lists[key] = _lists[key]!.copyWith(stale: true);
        _notifyList(key);
      }
    }
  });
}