I\'ve looked at a few other answers for similar problems but don\'t understand why mine isn\'t working.
I\'m trying to get my app to read commands from Firebase and
if u are using map object in your database should use get method directly with your object
doc: DocumentSnapshot val data = doc.get("location", SaleLocations::class.java)