SubscriptionHubEvent class

Inheritance
Mixed in types

Constructors

SubscriptionHubEvent.connected()
Emitted when a GraphQL subscription is connecting/reconnecting.
SubscriptionHubEvent.connecting()
Emitted when a GraphQL subscription is connecting/reconnecting.
SubscriptionHubEvent.disconnected()
Emitted when a GraphQL subscription connection has disconnected.
SubscriptionHubEvent.failed()
Emitted when a GraphQL subscription connection has failed.
SubscriptionHubEvent.pendingDisconnect()
Emitted when a GraphQL subscription connection is pending disconnect, but should exist.

Properties

details SubscriptionDetails
final
eventName String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
payload ApiHubEventPayload?
finalinherited
props List<Object?>
The type's equatable properties.
no setteroverride
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
status SubscriptionStatus
An overall status for GraphQL subscription connection, determined by the underlying details networkState and intendedState.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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