Request class

Execution request of an operation with variables.

Annotations
  • @immutable

Constructors

Request({@required Operation operation, Map<String, dynamic> variables: const {}, Context context: const Context()})
const

Properties

context Context
A Context to be passed along with a Request
final
hashCode int
The hash code for this object. [...]
read-only, override
operation Operation
Operation to be executed
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
variables Map<String, dynamic>
Variables of the operation for this request
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited
updateContextEntry<T extends ContextEntry>(ContextUpdater<T> update) Request
Clone this request updating an entry in the context
withContextEntry<T extends ContextEntry>(T entry) Request
Clone this request adding an entry to context

Operators

operator ==(Object o) bool
The equality operator. [...]
override