animationName property
Selects an animation to play by name. This animation will play when the .play()
method is invoked, or when the <model-viewer>
is configured to autoplay.
If no animation-name is specified, <model-viewer>
always picks the first
animation it finds in the model.
<model-viewer>
official document: https://modelviewer.dev/docs/#entrydocs-animation-attributes-animationName
Implementation
final String? animationName;