putBytes method

void putBytes(
  1. String url,
  2. Uint8List bytes
)

Manually seed byte entries for testing or local asset fallbacks.

Implementation

void putBytes(String url, Uint8List bytes) {
  _memoryCache[url.trim()] = bytes;
}