SubscriptionHandle class
Steady StreamController listening to the provided GraphQL subscription events and resubscribing on the errors.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
QueryResult< Object?> > -
Stream of the events of this SubscriptionHandle.
no setter
-
ver
→ FutureOr<
Version?> Function()? -
Callback, called when a Version to pass the
SubscriptionOptions
is required.final
Methods
-
cancel(
) → void - Cancels the subscription.
-
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