Message class

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
payload String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type PacketType
final

Methods

assemble() List<int>
Creates an RCON packet
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Removes up the color codes in Minecraft from the payload
override

Operators

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

Static Methods

create(Client client, PacketType type, String payload) Message
fromByteList(Uint8List list) Message
getPayload(Uint8List list) Uint8List
Used to access payload seperately from rest of request