SocketMessageMixin mixin
class MySocketMessage with SocketMessageMixin implements SocketMessage {
// Must override
@override
SocketMessage get socketMessage;
...
}
- Implemented types
Properties
-
controlMessages
→ List<
SocketControlMessage> -
The control messages sent as part of this socket message.
no setteroverride
- data → Uint8List
-
The actual bytes of the message.
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
- socketMessage → SocketMessage
-
no setter
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