cacheHitRate property

double get cacheHitRate

Get cache hit rate

Implementation

double get cacheHitRate {
  final total = _cacheHits + _cacheMisses;
  if (total == 0) return 0.0;
  return _cacheHits / total;
}