shouldHandle method
Implementation
bool shouldHandle(ApplicationEvent event) =>
matchesType(event) &&
(event.isScoped && scopeId != null ? event.scopeId == scopeId : true) &&
(passesCriteria == null || passesCriteria!(event));
bool shouldHandle(ApplicationEvent event) =>
matchesType(event) &&
(event.isScoped && scopeId != null ? event.scopeId == scopeId : true) &&
(passesCriteria == null || passesCriteria!(event));