NumberNotInRange class final

Error indicating that the number does not fall within the required inclusive range.

Inheritance

Constructors

NumberNotInRange({required num currentValue, required num minValue, required num maxValue})
Creates a new NumberNotInRange error.
const

Properties

code → String
Stable machine-readable code for this error.
no setteroverride
currentValue → num
The evaluated numeric value.
final
hashCode → int
The hash code for this object.
no setterinherited
maxValue → num
The maximum boundary.
final
minValue → num
The minimum boundary.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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