CodecRepo<S> class

Repository that serialize/deserialize using provided Codec.

Same usage as SerializerRepo

Implemented types
Implementers

Constructors

CodecRepo()

Properties

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

from<T>(dynamic object) → dynamic
Deserializes Dart built-in object to Dart PODO
inherited
getByType<T>(Type type) Serializer<T>
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