我目前在 firestore 中有一张 map 的 map ,我想知道如何才能通过 map 的内部值?
这就是我的结构:
map: {1: {1.1: asdasd, 1.2: asdasd}, 2: {2.1: qweqwe, 2.2: qweqwe}}}
我尝试过使用Map<String, Map<String, Map<String, String>>>
,但这给了我 type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'Iterable<dynamic>'
有什么办法可以解决这个问题吗?
提前非常感谢您。
最佳答案
我通过使用 Map<dynamic, dynamic>
就弄清楚了
关于firebase - 在 Dart 中迭代 Map of Maps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57507685/