Map Firestore documents in Flutter

Map Firestore documents in Flutter into a custom object can be tricky, but it doesn’t have to be. Let’s say you have a firestore collection query like this inside your initState for listening on changes from a collection: Then you have a function like this to handle each document in a map function My TalkSession …