【发布时间】:2020-10-03 00:44:18
【问题描述】:
在分配来自 firestore 的数据时
List<String> idList = snap.data['idList']
我得到了错误
List<dynamic> is not of type List<String>
firestore 中的 idList 看起来像这样
【问题讨论】:
-
请提供数据样本。
-
你能提供firestore中idList的截图吗?