printCache method

void printCache()

Prints the current cache content (for debugging).

Implementation

void printCache() {
  print('Current cache state:');
  _cache.forEach((key, value) {
    print('  $key: $value');
  });
  print('----------------------');
}