load method

  1. @override
ImageStreamCompleter load(
  1. DeviceImage key,
  2. dynamic decoder
)

Implementation

@override
ImageStreamCompleter load(DeviceImage key, DecoderCallback decoder) {
  return MultiFrameImageStreamCompleter(
    codec: _loadAsync(key, decoder),
    scale: key.scale,
    informationCollector: () sync* {
      yield ErrorDescription('Id: ${localImage.id}');
    },
  );
}