SpanExpandRules class
Contains an ExpandRule for the start and end boundaries of a span.
Constructors
- SpanExpandRules(ExpandRule start, ExpandRule end)
-
Create span expand rules.
const
- SpanExpandRules.after()
-
Create a span with start set to ExpandRule.exclusive and end set to
ExpandRule.inclusive.
const
- SpanExpandRules.exclusive()
-
Create a span with start set to ExpandRule.exclusive and end set to
ExpandRule.exclusive.
const
- SpanExpandRules.fixed()
-
Create rules for a span that is fixed in place.
const
Properties
- end → ExpandRule
-
Rule for expanding when AttributeSpan.shift is called at
AttributeSpan.end of the span.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFixed → bool
-
Indicates if these rules where created with SpanExpandRules.fixed.
no setter
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → ExpandRule
-
Rule for expanding when AttributeSpan.shift is called at
AttributeSpan.start of the span.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited