Range class

A simple structure for ranges. Convertible to List.

Constructors

Range({required int start, required int end})
Creates a new Range between start and end.

Properties

end int
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() List<int>
Transforms the Range object into a List of two elements (start and end).
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited