getFrame method

Image getFrame(
  1. int index
)

Get a frame from this image. If the Image is not animated, this Image will be returned; otherwise the particular frame Image will be returned.

Implementation

Image getFrame(int index) => frames[index];