entriesChecked method

List<MapEntry<K, V>> entriesChecked({
  1. DateTime? now,
  2. Duration? keyTimeout,
})

Returns the entries of this instance checking keyTimeout. See checkAllEntries.

Implementation

List<MapEntry<K, V>> entriesChecked({DateTime? now, Duration? keyTimeout}) =>
    keysChecked(now: now, keyTimeout: keyTimeout)
        .map((k) => MapEntry(k, _entries[k] as V))
        .toList();