gotoAndPlay method

void gotoAndPlay(
  1. int frame
)

Implementation

void gotoAndPlay(int frame) {
  _animationClip
    ..gotoFrame(frame)
    ..setPlay(true);
}