set method

Future<void> set(
  1. String key,
  2. Uint8List value
)

Stores the given byte value in the cache with the specified key.

Delegates to the underlying platform-specific Cache implementation.

Implementation

Future<void> set(String key, Uint8List value) => _cache.set(key, value);