FireBaseDB class

Constructors

FireBaseDB.init({OnceCallback? once, EventCallback? onChildAdded, EventCallback? onChildRemoved, EventCallback? onChildChanged, EventCallback? onChildMoved, EventCallback? onValue})
factory

Properties

addedListener EventCallback?
no getter
app → FirebaseApp?
no setter
changedListener EventCallback?
no getter
databaseURL String
no setter
db → FirebaseDatabase?
no setter
hasError bool
no setter
hashCode int
The hash code for this object.
no setterinherited
inError bool
no setter
instance → FirebaseDatabase?
no setter
isPersistenceEnabled bool?
no setter
message String
no setter
movedListener EventCallback?
no getter
onceListener OnceCallback?
no getter
removedListener EventCallback?
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user → User?
no setter
valueListener EventCallback?
no getter

Methods

close() → void
dataRef(String name) → DatabaseReference?
didChangeAppLifecycleState(AppLifecycleState state) → void
dispose() → void
getError() Exception?
Get the last error but clear it.
goOffline() Future<void>?
goOnline() Future<void>?
isOnline() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChildAdded(DatabaseReference ref, EventCallback listener) bool
open() Future<FireBaseDB>
purgeOutstandingWrites() Future<void>?
reference() → DatabaseReference?
setError(Object ex) → void
setEvents(DatabaseReference? ref) → void
setPersistenceCacheSizeBytes(int cacheSize) Future<bool>
setPersistenceEnabled(bool enabled) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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