getLocation method
Gets the current location of the user.
Throws an error if the app has no permission to access location.
Returns a LocationData
object.
Implementation
Future<LocationData> getLocation() {
throw UnimplementedError();
}
Gets the current location of the user.
Throws an error if the app has no permission to access location.
Returns a LocationData
object.
Future<LocationData> getLocation() {
throw UnimplementedError();
}