Future<void> _getCurrentUserLocation () async { final locData = await Location().getLocation(); final double newLatitude = locData.latitude; final double newLongitude = locData.longitude; code example
Example: Future _getCurrentUserLocation () async { final locData = await Location().getLocation(); final double newLatitude = locData.latitude; final double newLongitude = locData.longitude;
Future<void> _getCurrentUserLocation () async {
final locData = await Location().getLocation();
final double newLatitude = locData.latitude;
final double newLongitude = locData.longitude;