addFrame method

void addFrame(
  1. Image image
)

Add a frame to the animation.

Implementation

void addFrame(Image image) {
  frames.add(image);
}