getCachedDecodedBase64 static method

Uint8List? getCachedDecodedBase64(
  1. String? value
)

Implementation

static Uint8List? getCachedDecodedBase64(String? value) {
  if (value == null || value.isEmpty) {
    return null;
  }
  final cached = _base64Cache.remove(value);
  if (cached != null) {
    _base64Cache[value] = cached;
  }
  return cached;
}