getBytes method

Uint8List? getBytes(
  1. String? url
)

Synchronously returns cached image bytes if already loaded.

Implementation

Uint8List? getBytes(String? url) {
  if (url == null || url.trim().isEmpty) return null;
  return _memoryCache[url.trim()];
}