DistributedCacheExtensions extension
Extension methods for IDistributedCache.
Methods
-
getString(
String key) → Future< String?> -
Available on IDistributedCache, provided by the DistributedCacheExtensions extension
Gets a string value from the cache with the givenkey. -
setBytes(
String key, Uint8List value) → Future< void> -
Available on IDistributedCache, provided by the DistributedCacheExtensions extension
Sets the value forkeywithout options. -
setString(
String key, String value, [DistributedCacheEntryOptions? options]) → Future< void> -
Available on IDistributedCache, provided by the DistributedCacheExtensions extension
Sets a string value in the cache with the givenkey.