GetContext class

Creates an effect that instructs the middleware to return a specific property of saga's context.

Inheritance

Constructors

GetContext(dynamic name, {Result? result})
Creates an instance of a GetContext effect.

Properties

hashCode int
The hash code for this object.
no setterinherited
name → dynamic
Name of context value to get
final
result Result?
Result after effect is resolved.
getter/setter pairinherited
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