decodeAnimation abstract method

Animation? decodeAnimation(
  1. List<int> bytes
)

Decode all of the frames from an animation. If the file is not an animation, a single frame animation is returned. If there was a problem decoding the file, null is returned.

Implementation

Animation? decodeAnimation(List<int> bytes);