我尝试使用不同的语法来 decaring aList<Map<String, Object>> _work;但它仍然失败并给出错误
type 'MappedListIterable' is not a subtype of type 'List<Map<String, Object>> .....
MappedListIterable is from dart:_internal
List is from dart:core
Mapis is from dart:core
String is from dart:core
Object is from dart:core
.....
Run Code Online (Sandbox Code Playgroud)
我想声明一个变量,它是一个 Map 列表,其中键是 String,值是 Object。我该怎么做呢?
非常感谢您的帮助