hitRate property
double
get
hitRate
Gets the cache hit rate (hits / total operations).
Implementation
double get hitRate {
if (totalOperations == 0) return 0;
return _hitCount / totalOperations;
}
Gets the cache hit rate (hits / total operations).
double get hitRate {
if (totalOperations == 0) return 0;
return _hitCount / totalOperations;
}