runFunction method
Future<void>
runFunction(
- BuildContext context,
- ParameterAction action,
- Map<
ID, Variable> conStringVars, - dynamic inputValue,
Implementation
Future<void> runFunction(
BuildContext context,
ParameterAction action,
Map<ID, Variable> conStringVars,
dynamic inputValue,
) async {
try {
if (action.type == 'run_parameter_workflow') {
await RunParameterWorkflowMethods()
.runFunction(context, action as RunParameterWorkflowAction);
}
} catch (e) {
context.read<AppLogsCubit>().onNewLog(
EditorLogEntity(
id: _uuid.v1(),
content: e.toString(),
createdAt: DateTime.now(),
),
);
}
return;
}