autoPlay property
If this is true and a model has animations, an animation will automatically begin to play when this attribute is set (or when the property is set to true). If no animation-name is specified, plays the first animation.
<model-viewer>
official document: https://modelviewer.dev/docs/#entrydocs-animation-attributes-autoplay
Implementation
final bool? autoPlay;