谁能告诉我如何在flutter中解析对象数组的数组?当我解析json时,我得到的错误是type List<dynamic> is not a subtype of type Map<String, dynamic>.我正在尝试从API中获取要在屏幕上显示的数据,以便稍后构建一个GridView来显示所有产品及其各自的价格。我从flu
我试图使用firebase云函数中的where子句执行一个简单的firestore查询,但得到的结果是foo.data is not a function。async (req, res) => { let foo = await db.collection('users').where('appToken', '==', 'xxxx').get