setLoop method
Implementation
void setLoop(bool loop) {
if (dotLottiePlayer != null && !isDisposed) {
try {
final player = dotLottiePlayer as JSObject;
final method = player['setLoop'.toJS] as JSFunction;
method.callAsFunction(player, loop.toJS);
} catch (e) {}
}
}