📜  未定义的名称“Firestore” - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:51.589000             🧑  作者: Mango

代码示例1
var snapshot = FirebaseFirestore.instance
          .collection('chat')
          .orderBy('createdAt', descending: true)
          .snapshots();