How to write GeoPoints data like this in Firebase Firestore in Flutter?
I just want to simply store latitue and longitude data
There's a GeoPoint type provided by the Flutter Firebase library. You just do this:
GeoPoint
final result = await FirebaseFirestore.instance .collection('waypoints') .add({ 'startPoint': GeoPoint(5.373982, 2.705164) });
Copyright © 2021 Jogjafile Inc.
There's a
GeoPoint
type provided by the Flutter Firebase library. You just do this: