DataAdapter<T extends DataModel> class abstract

Constructors

DataAdapter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String
Generate a typeName from Data Model type. It is used internally to generate a Hive typeId
no setter

Methods

deserialize(Map<String, dynamic> map) → T
key(T? model) String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(T model) Map<String, dynamic>
toString() String
A string representation of this object.
inherited
toType(void callback<T>()) → void

Operators

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