SubscriptionHubEvent class
- Inheritance
-
- Object
- ApiHubEvent
- SubscriptionHubEvent
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 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 setter
- status → SubscriptionStatus
-
A consolidated subscription connection status determined by the network and
intended states.
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. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited