set abstract method

Future<void> set(
  1. String key,
  2. Uint8List value, [
  3. DistributedCacheEntryOptions? options
])

Sets a value with the given key.

key must not be null. value must not be null. options can be provided to configure expiration.

Implementation

Future<void> set(
  String key,
  Uint8List value, [
  DistributedCacheEntryOptions? options,
]);