GraphQLOperation<T> class

A wrapper over a CancelableOperation specific to GraphQLResponse.

Inheritance

Constructors

GraphQLOperation(CancelableOperation<GraphQLResponse<T>> operation, {FutureOr<void> onCancel()?})
Creates an GraphQLOperation from a CancelableOperation.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
A unique identifier for the operation.
finalinherited
logger AWSLogger
The logger for this class.
no setterinherited
operation CancelableOperation<GraphQLResponse<T>>
The wrapped CancelableOperation which can be used for cancelable chaining and interop with other CancelableOperations.
finalinherited
response Future<GraphQLResponse<T>>
The GraphQLResponse returned from this operation.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride

Methods

cancel() Future<void>
Cancels the pending or in-progress operation.
inherited
close() Future<void>
Closes the resource and all connected objects.
inherited
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