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