cacheHitRatio property

double get cacheHitRatio

Cache hit ratio as a percentage (0–100).

Implementation

double get cacheHitRatio {
  final total = cacheHits + cacheMisses;
  return total > 0 ? (cacheHits / total) * 100 : 0;
}