MessagesPrototypes class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decodeBytes(
Uint8List bytes) → Message? -
try to decode
bytes
intoMessage
object -
decodeBytesUsingPrototype<
T extends Message> (Uint8List bytes) → T? -
try to decode
bytes
intoMessage
object of typeT
-
definePrototype<
T extends Message> (IMessagePrototype< T> prototype) → void -
define new
prototype
for message of typeT
-
encodeMessage<
T extends Message> (T message) → Uint8List? -
try to encode
message
of typeT
-
findPrototype(
Uint8List data) → IMessagePrototype< Message> ? -
find
prototype
that can handledata
-
findPrototypeByMessageType<
T extends Message> () → IMessagePrototype< T> ? -
find
prototype
that defined for message typeT
-
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
Static Properties
- instance → MessagesPrototypes
-
get instance of MessagesPrototypes
no setter