ConnectionService class

Constructors

ConnectionService()

Properties

connectHasBeenCalledAtLeastOneTime bool
no setter
connection ConnectionDetails
no setter
connectionConfiguration ConnectionConfiguration
getter/setter pair
disconnectAndClearOnDone ↔ (void Function()?)
getter/setter pair
disconnectionReason DisconnectionReason?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverUrl String
no setter
ws AbstractIOWsChannel?
getter/setter pair

Methods

addOnConnectionChangeListener(OnConnectionChange listener, {bool immediately = true, bool beforeOthersListeners = false}) → void
disconnectAndClear({void onDone()?}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyConnectionChanged(ConnectionStatus conn, {DisconnectionReason? disconnectionReason}) → void
reconnect() Future<void>
removeOnConnectionChange(OnConnectionChange listener) → void
start({required String serverUrl}) → void
streamConnectionChanges({bool immediately = false}) Stream<ConnectionDetails>
toString() String
A string representation of this object.
inherited
waitForConnection() Future<void>
waitForConnectionOrTimeout({Duration? timeout}) Future<bool>

Operators

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

Static Properties

clientIdInternalApp String
final