SocketNotifier class Null safety

This class manages the transmission of messages over websockets using GetConnect

Constructors

SocketNotifier()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
open OpenSocket
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addCloses(CloseSocket socket) → void
subscribe to close events
addErrors(CloseSocket socket) → void
subscribe to error events
addEvents(String event, MessageSocket socket) → void
subscribe to named events
addMessages(MessageSocket socket) → void
subscribe to message events
dispose() → void
Dispose messages, events, closes and errors subscriptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyClose(Close err) → void
Notify all subscriptions on addCloses
notifyData(dynamic data) → void
Notify all subscriptions on addMessages
notifyError(Close err) → void
Notify all subscriptions on addErrors
toString() String
A string representation of this object. [...]
inherited

Operators

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