ConnectionStateChange class
Contains ConnectionState change information emitted by the Connection object.
- Annotations
Properties
- current → ConnectionState
-
The new ConnectionState.
final
- event → ConnectionEvent
-
The event that triggered this ConnectionState change.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- previous → ConnectionState
-
The previous ConnectionState.
final
- reason → ErrorInfo?
-
An [ErrorInfo object containing any information relating to the
transition.
final
- retryIn → int?
-
Duration in milliseconds, after which the client retries a connection
where applicable.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited