Range class

Object for CardProvider to determine valid number ranges. A loose wrapper on a tuple, that provides assertion of valid inputs and the isWithin() helper function.

Constructors

Range({required int low, required int high})

Properties

hashCode int
The hash code for this object.
no setterinherited
high int
getter/setter pair
low int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isWithin(int val) bool
Returns bool whether or not val is between low and high. The range includes the val, so
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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