ConnectionState class
The state of a connection.
Constructors
- ConnectionState({DateTime? lastUpdatedAt, ConnectionStatus? status})
-
ConnectionState.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastUpdatedAt → DateTime?
-
The last time the connection status was updated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ConnectionStatus?
-
The connection status of the tunnel. Valid values are
CONNECTED
andDISCONNECTED
.final
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