SetContext class

Creates an effect that instructs the middleware to update its own context. This effect extends saga's context instead of replacing it.

Inheritance

Constructors

SetContext(Map context)
Creates an instance of a SetContext effect.

Properties

context Map
New context to set
final
hashCode int
The hash code for this object.
no setterinherited
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