UnitIntervalException class
Exception thrown when a value is not within the unit interval of 0 to 1 (inclusive).
- Implemented types
Constructors
- UnitIntervalException([String? message])
-
Creates a UnitIntervalException object.
const
- UnitIntervalException.withValue(num? value, [String? message])
-
Creates a UnitIntervalException object that includes the value that
triggered this exception.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited