getAll method

List<Memory> getAll()

Returns all current items in recency order (most recent first).

Implementation

List<Memory> getAll() {
  _pruneExpired();
  return _queue.map((s) => s.memory).toList().reversed.toList();
}