setDefaultDriver method
Sets the default cache driver. Throws CacheException if the driver is not registered.
Implementation
@override
void setDefaultDriver(String name) {
if (!_drivers.containsKey(name)) {
throw CacheException('Cache driver "$name" not registered');
}
_defaultDriver = _drivers[name]!;
}