FirebaseStorageDataManager class

Stores files with Datum json objects in the Firebase Storage file store. Works closely with the FileDataManager which is responsible for writing and zipping files to the local device.

Files are transferred when the device is online and buffered when offline. Once the file has been transferred to Firebase, it is deleted on the local device.

Inheritance
Implemented types

Constructors

FirebaseStorageDataManager()

Properties

dataEndPoint FirebaseStorageDataEndPoint
read / write
fileDataManager FileDataManager
read / write
firebasePath → String
read-only
firebaseStorage → Future<FirebaseStorage>
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
notify(FileDataManagerEvent event) → Future
override
uploadData(Datum data) → Future<bool>
Upload data to the data store. Returns true if data was successfully uploaded; false otherwise.
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