onEvent method
Called when an analytics event fires — shows a survey gated on that event.
Implementation
void onEvent(String name) {
if (current.value != null || !_cfg.surveyAutoShow) return;
_showNextEligible(name);
}
Called when an analytics event fires — shows a survey gated on that event.
void onEvent(String name) {
if (current.value != null || !_cfg.surveyAutoShow) return;
_showNextEligible(name);
}