load method

Implementation

@override
ImageStreamCompleter load(
  AssetEntityImageProvider key,
  DecoderCallback decode,
) {
  return MultiFrameImageStreamCompleter(
    codec: _loadAsync(key, decode),
    scale: key.scale,
    informationCollector: () {
      return <DiagnosticsNode>[
        DiagnosticsProperty<ImageProvider>('Image provider', this),
        DiagnosticsProperty<AssetEntityImageProvider>('Image key', key),
      ];
    },
  );
}