clear method

void clear()

Removes all entries and resets the cache to empty.

Implementation

void clear() {
  _map.clear();
  _order.clear();
  _expiresAt.clear();
}