SubscriptionOptions class

Constructors

SubscriptionOptions({@required DocumentNode document, String operationName, Map<String, dynamic> variables = const {}, FetchPolicy fetchPolicy, ErrorPolicy errorPolicy, CacheRereadPolicy cacheRereadPolicy, Object optimisticResult, Context context})

Properties

asRequest Request
Resolve these options into a request
read-only, inherited
cacheRereadPolicy CacheRereadPolicy
read-only, inherited
context Context
Context to be passed to link execution chain.
read / write, inherited
document DocumentNode
Document containing at least one OperationDefinitionNode
read / write, inherited
errorPolicy ErrorPolicy
read-only, inherited
fetchPolicy FetchPolicy
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
isMutation bool
read-only, inherited
isQuery bool
read-only, inherited
isSubscription bool
read-only, inherited
operationName String
Name of the executable definition
read / write, inherited
optimisticResult Object
An optimistic first result to eagerly add to the subscription stream
read / write
policies Policies
Specifies the Policies to be used during execution.
read / write, inherited
properties List<Object>
identifying properties for the inheriting class
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type OperationType
read-only, inherited
variables Map<String, dynamic>
A map going from variable name to variable value, where the variables are used within the GraphQL query.
read / write, inherited

Methods

equal(MutableDataClass other) bool
properties based deep equality check
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited