我在flutter项目中从Cloud Firestore获取一些数据时遇到了一个问题。代码如下: void test () async {
var data = await Firestore.instance.collection("markers").getDocuments/v1/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore</e
- 'DocumentSnapshot' is from 'package:cloud_firestore/cloud_firestore.dart' ('/C:/flutter/flutter/.- 'DocumentSnapshot' is from 'package:cloud_firestore/cloud_firestore.dart
calljava.lang.NullPointerException: Firestore(Preconditions.java:787)
E/MethodChannel#plugins.flutter.io/cloud_firestore(28101): at com.google.firebase.firestore.Fi