startDecode method Null safety

  1. @override
DecodeInfo? startDecode(
  1. List<int> bytes
)
override

Start decoding the data as an animation sequence, but don't actually process the frames until they are requested with decodeFrame.

Implementation

@override
DecodeInfo? startDecode(List<int> bytes) {
  exrImage = ExrImage(bytes);
  return exrImage;
}