FirebaseDataManager class abstract

An abstract class handling initialization and authentication to Firebase.

Inheritance
  • Object
  • AbstractDataManager
  • FirebaseDataManager
Implementers

Constructors

FirebaseDataManager()

Properties

controller StreamController<DataManagerEvent>
getter/setter pairinherited
dataEndPoint → DataEndPoint?
no setterinherited
events Stream<DataManagerEvent>
Stream of data manager events.
no setterinherited
firebaseApp Future<FirebaseApp>
no setter
firebaseEndPoint FirebaseEndPoint?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
studyDeploymentId String
The ID of the study deployment that this manager is handling.
no setterinherited
type String
The type of this data manager as enumerated in DataEndPointType.
no setterinherited
user Future<User?>
Returns the current authenticated user.
no setter

Methods

addEvent(DataManagerEvent event) → void
inherited
close() Future
Close the data manager (e.g. closing connections).
override
initialize(String studyDeploymentId, DataEndPoint dataEndPoint, Stream<DataPoint> data) Future
Initialize the data manager by specifying the study deployment id, the DataEndPoint, and the stream of DataPoint events to handle.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDataPoint(DataPoint dataPoint) → void
On each data event from the data stream, the onDataPoint handler is called.
inherited
onDone() → void
When the data stream closes, the onDone handler is called.
override
onError(dynamic error) → void
When an error event is send on the stream, the onError handler is called.
override
toJsonString(Object object) String
Encode object to a JSON string.
inherited
toString() String
A string representation of this object.
inherited

Operators

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