cached property

bool cached

Whether or not this completer is in the PictureCache.

Implementation

bool get cached => _cached;
void cached=(bool value)

Implementation

set cached(bool value) {
  if (value == _cached) {
    return;
  }
  if (!value && _listeners.isEmpty) {
    _handle?.dispose();
    _handle = null;
    _current = null;
  }
  _cached = value;
}