decodeWebPAnimation function Null safety

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

Decode an animated WebP file. If the webp isn't animated, the animation will contain a single frame with the webp's image.

Implementation

Animation? decodeWebPAnimation(List<int> bytes) =>
    WebPDecoder().decodeAnimation(bytes);