map is not a subtype of documentsnapshot code example
Example: type 'Firebase Firestore' is not a subtype of type 'Firestore'
FirebaseFirestore db = FirebaseFirestore.instance;
FirebaseFirestore db = FirebaseFirestore.instance;