getLocation method

Future<LocationData> getLocation()

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();
}