VasatSembastStorageProvider class

Inheritance

Properties

db ↔ Database?
getter/setter pair
dbName String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findObjectById<T extends VasatModel<T>>(String uid, VasatFromJsonFactory<T> factory) Future<T?>
override
generateUID(Type classType) String
inherited
getObjectKey(String objectName) String
inherited
getObjectLastTimestamp(String vasatObjectName) Future<int?>
override
getObjects<T extends VasatModel<T>>(VasatFromJsonFactory<T> factory) Future<List<T>>
override
getRandomString(int length) String
inherited
getSession() Future<Session?>
override
getSimpleObject<T extends Object>(String objectName, {VasatFromJsonFactory<T>? factory}) Future<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDatabase(String dbName) Future<void>
override
removeSession() Future<bool>
override
removeSimpleObject(String objectName) Future<bool>
saveObjects<T extends VasatModel<T>>(List<T> objects) Future<bool>
override
saveSession(Session session) Future<bool>
override
setObjectLastTimestamp(String vasatObjectName, int timestamp) Future<void>
override
setSimpleObject(String objectName, Object object) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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