I’m getting an error on this code while getting User’s information from firebase database
Users.fromSnapshot(DataSnapshot snapshot)
{
id = snapshot.key;
email = snapshot.value["email"];
name = snapshot.value["name"];
phone = snapshot.value["phone"];
}
1 Answer