play method

void play()

Implementation

void play() {
  if (_playing || _config.frames.length < 2) return;
  if (_frameIndex == _config.frames.length - 1 && !_config.loop) {
    _frameIndex = 0;
    _settleAxisTransition();
  }
  _playing = true;
  notifyListeners();
}