Die class final
Represents a failure caused by an unexpected defect/throwable
Constructors
- Die.new(Object throwable, [StackTrace? stackTrace])
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
final
- throwable → Object
-
final
Methods
-
map<
E2> (E2 f(Never)) → Cause< E2> -
Maps the error type of this cause
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toException(
) → Exception -
Converts this cause to an exception that can be thrown
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override