stateMachineLoad method
Implementation
bool stateMachineLoad(String stateMachineId) {
if (dotLottiePlayer != null && !isDisposed) {
try {
final player = dotLottiePlayer as JSObject;
final method = player['stateMachineLoad'.toJS] as JSFunction;
final result = method.callAsFunction(player, stateMachineId.toJS);
return (result as JSBoolean?)?.toDart ?? true;
} catch (e) {
return false;
}
}
return false;
}