shouldProcess static method

bool shouldProcess(
  1. MonitorEvent event
)

Evaluates whether a specific event should be processed based on the current filter configuration.

Implementation

static bool shouldProcess(MonitorEvent event) {
  return _filter == null || _filter!(event);
}