StandaloneFirebaseDatabase class abstract

Implemented types

Constructors

StandaloneFirebaseDatabase(String databaseURL, {AuthTokenProvider? authTokenProvider})
factory

Properties

app → FirebaseApp
The FirebaseApp instance to which this FirebaseDatabase belongs.
no setterinherited
currentAuth → Map<String, dynamic>?
no setter
databaseURL → String
The URL to which this FirebaseDatabase belongs
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
onAuthChanged → Stream<Map<String, dynamic>?>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

authenticate(FutureOr<String> token) → Future<void>
delete() → Future<void>
goOffline() → Future<void>
Shuts down our connection to the Firebase Database backend until goOnline is called.
inherited
goOnline() → Future<void>
Resumes our connection to the Firebase Database backend after a previous goOffline call.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeOutstandingWrites() → Future<void>
The Firebase Database client automatically queues writes and sends them to the server at the earliest opportunity, depending on network connectivity. In some cases (e.g. offline usage) there may be a large number of writes waiting to be sent. Calling this method will purge all outstanding writes so they are abandoned.
inherited
reference() → DatabaseReference
Gets a DatabaseReference for the root of your Firebase Database.
inherited
setPersistenceCacheSizeBytes(int cacheSizeInBytes) → Future<bool>
Attempts to set the size of the persistence cache.
inherited
setPersistenceEnabled(bool enabled) → Future<bool>
Attempts to sets the database persistence to enabled.
inherited
toString() → String
A string representation of this object.
inherited
unauthenticate() → Future<void>

Operators

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