WebSocketManagerState class

Represents the state of the WebSocket manager.

Constructors

WebSocketManagerState({required WebSocketState connectionState, required bool isReconnecting, required int reconnectionAttempt, required int queueSize})
Creates a new WebSocketManagerState.
const

Properties

connectionState → WebSocketState
The current connection state.
final
hashCode → int
The hash code for this object.
no setterinherited
isReconnecting → bool
Whether reconnection is in progress.
final
queueSize → int
The current queue size.
final
reconnectionAttempt → int
The current reconnection attempt number.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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