easy_data_storage
library
Classes
-
DataStorage<Entity>
-
Base interface for implementing local data storage of
Entity
.
-
HiveDataStorage<Entity>
-
Implementation of DataStorage using
Hive
library.
For use this implementation with specific type of entity ,
you simple need to extends from this class and pass needed parameter.
Uses Map<String, dynamic> type for simplify implementation ,
so you can skip creating adapters for your models.
-
HiveListDataStorage<Entity>
-
Implementation of ListDataStorage using
Hive
library.
For use this implementation with specific type of entity ,
you simple need to extends from this class and pass needed parameter.
Uses Map<String, dynamic> type for simplify implementation ,
so you can skip creating adapters for your models.
-
ListDataStorage<Entity>
-
Base interface for implementing local data storage for list of
Entity
.
-
SharedPrefDataStorage<Entity>
-
Implementation of DataStorage using
SharedPreferences
library.
For use this implementation with specific type of entity ,
you simple need to extends from this class and pass needed parameter.
Uses Map<String, dynamic> type for simplify implementation ,
so you can skip creating adapters for your models.
-
SharedPrefsListDataStorage<Entity>
-
Implementation of ListDataStorage using
Hive
library.
For use this implementation with specific type of entity ,
you simple need to extends from this class and pass needed parameter.
Uses Map<String, dynamic> type for simplify implementation ,
so you can skip creating adapters for your models.