setIsBoomerang method
Use this function to set the value for ImageSequenceAnimatorState.isBoomerang at runtime.
Implementation
void setIsBoomerang(bool isBoomerang) {
if (!_isReadyToPlay) return;
this._isBoomerang = isBoomerang;
if (this.isBoomerang) {
_isLooping = false;
if (!_animationController!.isAnimating) restart();
}
}