MultiAttributionSpan class
A span that contains zero or more attributions.
An AttributedSpans can be collapsed to a single list of MultiAttributionSpans with AttributedSpans.collapseSpans.
Constructors
-
MultiAttributionSpan({required Set<
Attribution> attributions, required int start, required int end}) -
const
Properties
-
attributions
→ Set<
Attribution> -
final
- end → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
final
Methods
-
copyWith(
{Set< Attribution> ? attributions, int? start, int? end}) → MultiAttributionSpan -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override