CacheTypeRegistry class
A registry for keeping all cacheable model you want to keep.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getResolver<
T> () → CacheTypeResolver< T> ? - Returns resolver for cache based on type
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerHiveTypeAdapter<
T> (TypeAdapter< T> typeAdapter) → void - add Object Type to registry for parsing and, treating cache as HiveType
-
registerJsonAdapter<
T> (JSONParser< T> jsonParser) → void - add Object Type to registry for parsing and, treating cache as JSON
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ CacheTypeRegistry
-
Singleton instance for accessing registry (CacheTypeRegistry)
getter/setter pair