setBytesWithTimeout method
store (key, bytes) pair. cache expires after timeout.
Implementation
Future<void> setBytesWithTimeout(
String key, List<int> bytes, Duration timeout) async {
await _writeBytes(key, bytes);
await _setTimeout(key, timeout);
}