getLocation method

Future<Map<String, double>?> getLocation()

Fetches the current location (latitude and longitude). Returns a map with keys 'latitude' and 'longitude', or null if not available/denied.

Implementation

Future<Map<String, double>?> getLocation() {
  throw UnimplementedError('getLocation() has not been implemented.');
}