play method

void play()

Starts playback according to the current playMode.

Convenience method that calls the appropriate AnimationController method based on playMode:

Implementation

void play() {
  switch (_playMode) {
    case GKPlayMode.forward:
      forward();
    case GKPlayMode.reverse:
      reverse();
    case GKPlayMode.loop:
      repeat();
    case GKPlayMode.pingPong:
      repeat(reverse: true);
  }
}