keysChecked method
Returns the keys of this instance checking keyTimeout
.
See checkAllEntries.
Implementation
List<K> keysChecked({DateTime? now, Duration? keyTimeout}) {
now ??= DateTime.now();
keyTimeout ??= this.keyTimeout;
var keys = _entries.keys.toList(growable: false);
return keys
.where((k) => !checkEntry(k, now: now, keyTimeout: keyTimeout))
.toList();
}