load method
Implementation
@override
ImageStreamCompleter load(FMTCImageProvider key, DecoderCallback decode) {
// ignore: close_sinks
final StreamController<ImageChunkEvent> chunkEvents =
StreamController<ImageChunkEvent>();
return MultiFrameImageStreamCompleter(
codec: _loadAsync(key: key, decode: decode, chunkEvents: chunkEvents),
chunkEvents: chunkEvents.stream,
scale: 1,
debugLabel: coords.toString(),
informationCollector: () => <DiagnosticsNode>[
DiagnosticsProperty<Coords>('Coordinates', coords),
],
);
}