Message class

Constructors

Message(String id, String type)
Message.connect()
factory
Message.method(String id, String serviceMethod, List args)
factory
Message.ping(String id)
factory
Message.pong(String id)
factory
Message.reconnect(String session)
factory
Message.sub(String id, String subName, List args)
factory
Message.unSub(String id)
factory

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toString() String
A string representation of this object. [...]
inherited

Operators

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