getTotalNumberOfAccesses method
Returns the total number of accesses, which is the sum of hits and misses.
This represents the total number of times the cache has been queried.
Implementation
@override
int getTotalNumberOfAccesses() => _hits.length + _misses.length;