update method

EntryInfo<K, U> update()

Sets lastAccess to now and increments numUses.

Implementation

EntryInfo<K, U> update() =>
    copyWith(lastAccess: DateTime.now(), numUses: numUses + 1);