store static method
Creates and returns a new CacheDriver instance with the specified storeName.
The storeName is used to uniquely identify different cache stores when using multiple cache drivers.
- Parameter
storeNameThe name of the cache store. - Returns: A new instance of CacheDriver associated with the specified
storeName. Usage:
var myCacheDriver = Cache.store("myStore");
Implementation
static BondCache store(String storeName) =>
sl<BondCache>(instanceName: storeName);