DataInterface class

Constructors

DataInterface(Config config)

Properties

canStore → bool
read-only
config Config
read / write
httpStorageProvider HTTPStorageProvider
read / write
keyValueStorageProvider KeyValueStorageProvider
read / write
networkProvider NetworkProvider
read / write
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

createDataStores() → Future
delete(BeanStorageProvider storageProvider, Bean bean) → Future
getFromHTTP(dynamic url, { Function networkDataFormatter, Function storageDataFormatter }) → Future
query(BeanStorageProvider storageProvider, { Map<String, dynamic> filter, Map<String, dynamic> exclude, bool distinct, List<String> columns, String where, List whereArgs, String groupBy, String having, String orderBy, int limit, int offset }) → Future<List<Map>>
queryOne(BeanStorageProvider storageProvider, int id) → Future<Map>
save(BeanStorageProvider storageProvider, Bean bean) → Future<Bean>
saveAll(BeanStorageProvider storageProvider, List<Bean> beans) → Future<List<Bean>>
storeHTTPData(dynamic url, dynamic httpData) → Future
update(BeanStorageProvider storageProvider, Bean bean) → Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited