var position = await Geolocator().getCurrentPosition(
desiredAccuracy: LocationAccuracy.best,
);
setState(() {
currentposition = position;
print(currentposition);
locationdata();
}),}
I wanted to find and use my location using geolocator. So as to check if my location is right, I used print. Surprisingly, the lat and long that I get are not from my place. They are of google building in USA. How to solve this problem?