shouldHandle method

bool shouldHandle(
  1. ApplicationEvent event
)

Implementation

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