I have the following Firebase realtime database connected to my flutter project:
I am fairly new to flutter and firebase, I understand that a way to access the data in this database in my flutter project is by using a database reference variable. So i have the following reference variable itemRef:
class _MyHomePageState extends State<MyHomePage> {
DatabaseReference itemRef;
@override
void initState() {
// TODO: implement initState
super.initState();
itemRef = FirebaseDatabase.instance.reference();
}
Now, how do i access the temperature and pulse values in the database using this itemRef?
