ProtoCodec class final

Implemented types

Constructors

ProtoCodec({ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY})
const

Properties

extensionRegistry → ExtensionRegistry
final
hashCode → int
The hash code for this object.
no setterinherited
isBinary → bool
Returns true if the marshalled data is binary for this codec.
no setter
name → String
Name of the Codec.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Uint8List data, Object message) → void
override
encode(Object message) → Uint8List
Encode encodes the given message.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stableEncode(Object message) → Uint8List
Encodes the given message with stable field ordering.
toString() → String
A string representation of this object.
inherited

Operators

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