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