decodeAnimation abstract method
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);