使用Flutter http包调用http.get时,会抛出以下异常: Unhandled Exception: Unhandled error type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>' occurred in bloc Instance of
下面是我的API响应的结构 {"cards":{"TOTAL_PERFORMED":0,"TOTAL_TO_BE_PERFORMED":0,"START_DATE":1619042400,"END_DATE":1619042400}} 下面是我尝试获取数据的方法 Future<Map<List,dynamic>>cards_daily_request()async{
var
当转换documentSnapshot.data() as DocumentSnapshot<Map<String, dynamic>>时,我得到了错误:_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'DocumentSnapshot<Map<String, dynamic>&
1) type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<Map<String, dynamic>>'
我的代码.List<Map<String, dynamic>> arrayOfProductList = Lis