FirebaseDatabaseDataManager class

Stores CARP json objects in the Firebase Database.

Every time a CARP json data object is created, it is uploaded to Firebase. Hence, this interface only works when the device is online. If offline data storage and forward is needed, use the FirebaseStorageDataManager instead.

Inheritance

Constructors

FirebaseDatabaseDataManager()

Properties

dataEndPoint FirebaseDatabaseDataEndPoint
read / write
firebaseDatabase → Future<Firestore>
read-only
firebaseApp → Future<FirebaseApp>
read-only, inherited
firebaseEndPoint FirebaseEndPoint
read / write, inherited
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
study Study
read / write, inherited
user → Future<FirebaseUser>
read-only, inherited

Methods

initialize(Study study) → Future
Initialize the data manager by specifying the running Study.
override
uploadData(Datum data) → Future<bool>
Called every time a JSON CARP data object is to be uploaded.
override
close() → Future
Close the data manager (e.g. closing connections).
inherited
jsonEncode(Object object) → String
JSON encode an object.
inherited
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