“dynamic>'.dart(for_in_of_invalid_element_type)”循环中使用的类型“”List>>“”必须实现具有类型参数的“”Iterable“”,该参数可以分配给从以下代码更改的then((result) { for (DocumentSnapshot category in result.documents
我得到了错误:
The getter 'documents' isn't defined for the type 'QuerySnapshot<Map<String, dynamic>>'.Try importing the library that defines 'documents', correcting the name to the name of an existing getter, or de