Done<T extends Object?> class
final
Represents the final result of a bouncing computation.
When the trampoline reaches a Done bounce, it extracts the value and returns it. This signals that the computation is complete.
Example:
final result = Done(30);
// Trampoline will extract and return 30
Constructors
- Done(T value)
-
Creates a completed result with the given
value.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
The final computed value that will be returned by the trampoline.
final
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