runFunction method
Implementation
void runFunction(
BuildContext context,
UIStateAction action,
) {
try {
/*if (action is AssignUIStateAction) {
return assignVariable(
context,
action,
);
}*/
throw Exception('No function found');
} catch (e) {
context.read<AppLogsCubit>().onNewLog(
EditorLogEntity(
id: _uuid.v1(),
content: e.toString(),
createdAt: DateTime.now(),
),
);
}
return;
}