FireBaseDB class Null safety

Constructors

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

Properties

addedListener EventCallback?
write-only
app FirebaseApp?
read-only
changedListener EventCallback?
write-only
databaseURL String
read-only
db FirebaseDatabase?
read-only
hasError bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
inError bool
read-only
instance FirebaseDatabase?
read-only
isPersistenceEnabled bool?
read-only
message String
read-only
movedListener EventCallback?
write-only
onceListener OnceCallback?
write-only
removedListener EventCallback?
write-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
user User?
read-only
valueListener EventCallback?
write-only

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 non-existent 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