matches method
Evaluates whether the given span satisfies this query token.
Implementation
bool matches(TraceSpan span) {
final match = (field == 'dur' || field == 'duration')
? _matchesDuration(span)
: _collectSearchTargets(span).any(_matchesTarget);
return isExclusion ? !match : match;
}