ApiWebsocket class
Properties
-
connectionStream
→ Stream<void>
-
A null is emitted every time a connection is successfully created
latefinal
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isAlive
→ bool
-
Returns true if the connection is alive at the moment
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sink
→ StreamSink<ApiMessage>
-
Messages added to this sink will be sent to the other side of the
connection.
latefinal
-
stream
→ Stream<ApiMessage>
-
Messages from the other side of the connection will appear in this stream.
latefinal
Methods
-
dispose()
→ void
-
Must be called to clean up resource after the transport is no longer in
use.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited