getNextFrame method

Future<FrameInfo> getNextFrame ()

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.

Implementation

Future<FrameInfo> getNextFrame() {
  return _futurize(_getNextFrame);
}