This might be a dumb question but I couldn't find any examples on google's firebase site. If I have a key in the firebase database of "First Name"
and then I call
FirstNameClass firstName = dataSnapshot.getValue(FirstNameClass.class);
FireNameClass{
Private String FirstName;
FirstName(){
}
FirstName(String firstName){
this.FirstName = firstName;
}
}
It'll return null because it's trying to map to FirstName instead of First Name with a space. Is there a different way to achieve this because all my values have spaces in them just by design and I am willing to do extra work to keep this design if possible.