load method
Implementation
@override
ImageStreamCompleter load(AdvancedNetworkImage key, DecoderCallback decode) {
final chunkEvents = StreamController<ImageChunkEvent>();
return MultiFrameImageStreamCompleter(
codec: _loadAsync(key, decode, chunkEvents),
// chunkEvents: chunkEvents.stream, // TODO
scale: key.scale,
informationCollector: () sync* {
yield DiagnosticsProperty<ImageProvider>('Image provider', this);
yield DiagnosticsProperty<AdvancedNetworkImage>('Image key', key);
},
);
}