updateStats abstract method

void updateStats(
  1. String driverName, {
  2. required bool hit,
  3. required String operation,
  4. bool error = false,
})

Updates statistics for a cache operation.

Implementation

void updateStats(
  String driverName, {
  required bool hit,
  required String operation,
  bool error = false,
});