Database class

Firebase realtime database service class.

See: firebase.google.com/docs/reference/js/firebase.database.

Properties

app App
App for this instance of database service.
no setter
hashCode int
The hash code for this object.
no setterinherited
jsObject → DatabaseJsImpl
JS object.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

goOffline() → void
Disconnects from the server, all database operations will be completed offline.
goOnline() → void
Connects to the server and synchronizes the offline database state with the server state.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ref([String? path]) DatabaseReference<ReferenceJsImpl>
Returns a DatabaseReference to the root or provided path.
refFromURL(String url) DatabaseReference<ReferenceJsImpl>
Returns a DatabaseReference from provided url. Url must be in the same domain as the current database.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance(DatabaseJsImpl jsObject) Database
Creates a new Database from a jsObject.