Faith12345
Lurker
Hi guys, so in Firestore I have fields written in capital letters and when I'm creating the object class that will represent the document, I don't want to have capital letter properties there... example:
Firestore:
collections Menu:
document fields: APPETIZER: "salad"
in the class Menu:
val appetizer: String? = null
this won't work because it is in capital letters in Firestore and it will only work if I do that in the class:
val APPETIZER: String? = null
How should I do this??
Firestore:
collections Menu:
document fields: APPETIZER: "salad"
in the class Menu:
val appetizer: String? = null
this won't work because it is in capital letters in Firestore and it will only work if I do that in the class:
val APPETIZER: String? = null
How should I do this??