Error reading Firestore data from flutter
getData() async{ var result = await FirebaseFirestore.instance.collection('users').doc('documentId').get(); print(result['']); } @override void initState() { getData(); super.initState(); } In, if the value in result[''] is aa or 1aa, the data can be read, but if it is 1.aa, it cannot be read.…