firebase_database_ffi library

The firebase_database implementation for desktop Linux.

Values, queries, child events, transactions and onDisconnect route to the C++ SDK.

Two things the desktop SDK cannot do, refused rather than approximated:

  • startAfter and endBefore. The C++ SDK has StartAt, EndAt and EqualTo and no exclusive form. Treating an exclusive bound as an inclusive one returns one extra child and reports nothing wrong.
  • Persistence and its cache size. There is no on-disk cache to configure.

Priorities, keepSynced, purgeOutstandingWrites and get() with query modifiers are all bound.

Classes

FfiDatabaseEvent
One event on a stream.
FfiDatabaseReference
A location that can be written as well as read.
FfiDataSnapshot
A snapshot, holding the decoded value.
FfiOnDisconnect
What the server should do if this client goes away.
FfiQuery
A query over a location.
FfiTransactionResult
The outcome of a transaction.
FirebaseDatabaseFfi
Registered by Flutter on Linux via dartPluginClass.