ProtoSerializerRepo class

Inheritance
Implementers

Constructors

ProtoSerializerRepo({bool isJsonFormatEnabled: false })

Properties

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

Methods

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

Operators

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