Flutter Cloud Firestore Map<String, dynamic> error
问题 I am trying to build an app using Flutter and Firestore. When loading a Collection from Firestore using StreamBuilder to display it in a ListView, I get the following error The following assertion was thrown building StreamBuilder<QuerySnapshot>(dirty, state: I/flutter (26287): _StreamBuilderBaseState<QuerySnapshot, AsyncSnapshot<QuerySnapshot>>#d5638): I/flutter (26287): type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'Map<String, dynamic>' I/flutter (26287): where I