Range class
Constructors
-
Range.between(int from, int to)
-
Obtains a range with the specified minimum and maximum values.
factory
-
Range.point(int value)
-
Obtains a range using the specified element as both
the minimum and maximum in this range.
factory
Properties
-
from
→ int
-
The "from" number
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
isPoint
→ bool
-
Returns true if this range is the point, otherwise false.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
to
→ int
-
The "to" number
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
override