FeatureGeoLocatorRepository class abstract
Constructors
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
-
checkPermission(
) → Future< LocationPermission> - Returns a Future indicating if the user allows the App to access the device's location.
-
distanceBetween(
{required double startLatitude, required double startLongitude, required double endLatitude, required double endLongitude}) → double - Calculates the distance between the supplied coordinates in meters.
-
getCurrentPosition(
{LocationSettings? locationSettings}) → Future< Position> - Returns the current position.
-
getLastKnownLocation(
{bool useNewerFusedLocationProvider = true}) → Future< Position?> - Returns the last known position stored on the users device.
-
isFakeLocation(
) → Future< bool> - Calculates the distance between the supplied coordinates in meters.
-
isLocationServiceEnabled(
) → Future< bool> - Returns a Future containing a bool value indicating whether location services are enabled on the device.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppSetting(
) → Future< void> - Opens the App settings page.
-
openLocationSettings(
) → Future< void> - Opens the location settings page.
-
requestPermission(
) → Future< LocationPermission> - Request permission to access the location of the device.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited