RTDB class

A class for handling basic Realtime Database operations such as retrieving, adding, and deleting data within a Firebase Realtime Database.

Constructors

RTDB.new()

Properties

database → FirebaseDatabase
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getData(String nodePath) Future<Object?>
Retrieves data from a specified node path in the database.
getRtdbInstance() → FirebaseDatabase
Returns the instance of FirebaseDatabase used in this class.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeData(String nodePath) Future<void>
Deletes data at a specified node path in the database.
setData(String nodePath, dynamic data) Future<void>
Adds or updates data at a specified node path in the database.
toString() String
A string representation of this object.
inherited

Operators

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