Return class
Returns from a Generator function like a return statement in a normal function. Generator stops to instruct remaining statements and immediately returns with the provided resultValue value.
Constructors
- Return([dynamic resultValue])
- Creates an instance of a Return effect.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- resultValue → dynamic
-
Value to return.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDefinition(
) → Map< String, dynamic> -
Returns all properties of effect as a dictionary object
override
-
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