VoyagerAdapter<T> class
serializes and deserializes given type
Constructors
-
VoyagerAdapter({required Map<
String, dynamic> serialize(dynamic), required dynamic deserialize(Map<String, dynamic> )}) -
default constructor
const
Properties
-
deserialize
→ dynamic Function(Map<
String, dynamic> ) -
parse json encodable map to an instance
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serialize
→ Map<
String, dynamic> Function(dynamic) -
serialize item to a json encodable map
final
- type → Type
-
runtime type of serialized/deserialized type
no setter
Methods
-
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