Closed bossbeagle1509 closed 4 years ago
Here's the current function I'm using to update stuff
void updateDB() { _getCurrentLocation(); GeoFirePoint myLocation = geo.point(latitude: mLa, longitude: mLo); _firestore .collection('drivers') .document(docID) .updateData({'position': myLocation.data}); }
It's called in initState and gives me a bunch of errors. Any help is greatly appreciated.
Here's the current function I'm using to update stuff
It's called in initState and gives me a bunch of errors. Any help is greatly appreciated.