firebase_database library

Classes

DatabaseEvent
DatabaseEvent encapsulates a DataSnapshot and possibly also the key of its previous sibling, which can be used to order the snapshots.
DatabaseReference
DatabaseReference represents a particular location in your Firebase Database and can be used for reading or writing data to that location.
DataSnapshot
A DataSnapshot contains data from a Firebase Database location. Any time you read Firebase data, you receive the data as a DataSnapshot.
FirebaseDatabase
The entry point for accessing a Firebase Database. You can get an instance by calling FirebaseDatabase.instance or FirebaseDatabase.instanceFor().
OnDisconnect
The onDisconnect class allows you to write or clear data when your client disconnects from the Database server. These updates occur whether your client disconnects cleanly or not, so you can rely on them to clean up data even if a connection is dropped or a client crashes.
Query
Represents a query over the data at a particular location.
ServerValue
Transaction
The pending result of a TransactionHandler.
TransactionResult
Instances of this class represent the outcome of a transaction.

Enums

DatabaseEventType
Enum to define various types of database events

Typedefs

TransactionHandler = Transaction Function(Object? value)
Interface for TransactionHandler