getNextFrame abstract method
Fetches the next animation frame.
Wraps back to the first frame after returning the last frame.
The returned future can complete with an error if the decoding has failed.
The caller of this method is responsible for disposing the FrameInfo.image on the returned object.
Implementation
Future<FrameInfo> getNextFrame();