stateMachineGetNumericInput method

double? stateMachineGetNumericInput(
  1. String key
)

Implementation

double? stateMachineGetNumericInput(String key) {
  if (dotLottiePlayer != null && !isDisposed) {
    try {
      final player = dotLottiePlayer as JSObject;
      final method = player['stateMachineGetNumericInput'.toJS] as JSFunction;
      final result = method.callAsFunction(player, key.toJS);
      return (result as JSNumber?)?.toDartDouble;
    } catch (e) {
      return null;
    }
  }
  return null;
}