AttributionSpan class
An Attribution span from start to end, inclusive.
Constructors
- AttributionSpan({required Attribution attribution, required int start, required int end})
-
const
Properties
- attribution → Attribution
-
final
- end → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- range → SpanRange
-
Returns a SpanRange from start to end.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
final
Methods
-
constrain(
{required int start, required int end}) → AttributionSpan -
Create a returns a copy of this AttributionSpan, which is constrained
by the given
start
andend
, i.e., the returned value'sstart
is -
copyWith(
{Attribution? attribution, int? start, int? end}) → AttributionSpan -
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