RangeHeaderItem class
Represents an individual range, with an optional start index and optional end index.
- Implemented types
Constructors
- RangeHeaderItem.new([int start = -1, int end = -1])
-
const
Properties
Methods
-
compareTo(
RangeHeaderItem other) → int -
Compares this object to another object.
override
-
consolidate(
RangeHeaderItem other) → RangeHeaderItem - Joins two items together into the largest possible range.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overlaps(
RangeHeaderItem other) → bool -
toContentRange(
[int? totalSize]) → String -
Creates a representation of this instance suitable for a
Content-Range
header. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override