processFAAAlertActionPressed method
Implementation
void processFAAAlertActionPressed(String elementId) {
final template = currentPresentTemplate;
if (template is! AAAlertTemplate) return;
final AAAlertAction? action =
template.actions.cast<AAAlertAction?>().firstWhere(
(action) => action?.uniqueId == elementId,
orElse: () => null,
);
action?.onPress();
}