Flutter Firebase how would I go about getting specific data from snapshot

I am currently using a realtime database for my application. I am having trouble reading specific user data from a snapshot. My code: final databaseReference = FirebaseDatabase.instance.reference(); void getData() { databaseReference.once().then((DataSnapshot snapshot) { Map<dynamic, dynamic> values = snapshot.value; //print(snapshot.value[‘name’]); print(‘Data : ${snapshot.value}’); }); } My database layout: Users: userId: name: TEST email: [email protected] bio: TESTBio…

Details