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