ProtoCodecRepo class

Jaguar serializer CodecRepo to serialize and deserialize protobuf.

Inheritance
Implemented types

Constructors

ProtoCodecRepo({dynamic isJsonFormatEnabled: false })

Properties

bufferCalls → Map<dynamic, FromProtoBuf>
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
isJsonFormatEnabled → bool
final, inherited
jsonCalls → Map<dynamic, FromProtoBuf>
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decode<T>(Uint8List object) → dynamic
@nodoc use deserialize
decodeList<T>(Uint8List object) → List<T>
@nodoc use deserialize
decodeOne<T>(Uint8List object) → T
@nodoc use deserialize
encode(dynamic object) → Uint8List
@nodoc use serialize
add<T>(FromProtoBuf<T> toBuffer, { FromProtoBuf<T> toJson }) → void
inherited
addAll(Map<dynamic, FromProtoBuf> toBuffer, { Map<dynamic, FromProtoBuf> toJson }) → void
inherited
clear() → void
inherited
from<T>(dynamic object) → dynamic
Deserializes Dart built-in object to Dart PODO
inherited
getByType(Type type) FromProtoBuf
Return a Serializer for a Type
inherited
listFrom<T>(List object) → List<T>
Deserializes object (List<dynamic>) to List<T>
inherited
mapFrom<T>(Map<String, dynamic> object) → Map<String, T>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
oneFrom<T>(dynamic object) → T
Deserializes object to T
inherited
to(dynamic object) → dynamic
Serializes object to Dart built-in type
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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