cacheResolver property
The user-provided resolver responsible for locating caches by name.
This resolver is typically registered via CacheConfigurer or explicitly set during cache system configuration. It determines how cache names map to actual CacheStorage or Cache instances.
Usage
_cacheResolver = SimpleCacheResolver(MyCacheManager());
final cache = _cacheResolver.resolve('users');
Notes
- Must be set before any cache retrieval operations are performed.
- Used internally by CacheOperationContext to find the target cache(s) for a given key or method invocation.
Implementation
late CacheResolver cacheResolver;