decodePngAnimation function Null safety

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

Decode a PNG formatted animation.

Implementation

Animation? decodePngAnimation(List<int> bytes) =>
    PngDecoder().decodeAnimation(bytes);