HubConnectionState class

Describes the current state of the HubConnection to the server.

Constructors

HubConnectionState(String name)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
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

Constants

connected → const HubConnectionState
The hub connection is connected.
connecting → const HubConnectionState
The hub connection is connecting.
disconnected → const HubConnectionState
The hub connection is disconnected.
disconnecting → const HubConnectionState
The hub connection is disconnecting.
reconnecting → const HubConnectionState
The hub connection is reconnecting.