QueryToken class
Properties
-
durationUs
→ double?
-
If field is a duration field, this holds the parsed time in microseconds.
final
-
field
→ String?
-
The targeted field for this token (e.g., 'dur', 'name', 'widget').
If null, matches against name, category, and all metadata.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isExclusion
→ bool
-
Whether this token should exclude matching events (starts with '-').
final
-
isSmartCase
→ bool
-
Optimization: whether value contains any uppercase letters (Smart Case).
final
-
operator
→ String?
-
The comparison operator, used for duration fields (e.g., '>', '<', '>=').
final
-
regex
→ RegExp?
-
If value is wrapped in slashes (e.g.
/foo/), this holds the compiled RegExp.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ String
-
The raw value to match or parse.
final
Methods
-
matches(TraceSpan span)
→ bool
-
Evaluates whether the given
span satisfies this query token.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited