gotoAndStop method

void gotoAndStop(
  1. int frame
)

Implementation

void gotoAndStop(int frame) {
  _animationClip
    ..gotoFrame(frame)
    ..setPlay(false);
}