LocationService class

Service class for handling location operations.

Constructors

LocationService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getCurrentLocation() Future<LocationResult>
Get current user location with detailed error information. Returns LocationResult with location or error message.
hasLocationPermission() Future<bool>
Check if location permission is granted.
openAppSettings() Future<bool>
Open app settings to allow user to enable location permission.