我想从api获取列表视图,并将其放入我的应用程序屏幕,但它向我显示了 [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception:type 'List<dynamic>' is not a subtype of type 'Map<String, <em
颤振环境: sdk:">=2.17.0 <3.0.0“I/flutter (28168): NoSuchMethodError: Class 'String' has no instanceflutter (28168): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Except
下面是它的函数: Future<int> postQuestion(User userOwner, User userAsked, String questionText, int qoinsTotal, int votes) async {Map<String, String> headers = {"Content-typeuserOwner.userId}", h