NegativeValueException class
Exception thrown when a value is negative when it's not supposed to be.
- Implemented types
Constructors
- NegativeValueException([String? message])
-
Creates a NegativeValueException object.
const
- NegativeValueException.withValue(num? value, [String? message])
-
Creates a NegativeValueException 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