Message<T extends DataObject> class
A message received by the server. The data is guaranteed to be of type
T
.
- Inheritance
-
- Object
- UntypedMessage<
T> - Message
Constructors
- Message(Connection from, T data)
-
A message received by the server. The data is guaranteed to be of type
T
.const
Properties
- connection → Connection
-
The connection that sent the message.
finalinherited
- data → T
-
The data that was sent by the connection.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited