LocationService 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
-
calculateDistance(
{required double startLat, required double startLong, required double endLat, required double endLong}) → FutureOr< double> -
checkPermissions(
) → Future< LocationPermission> -
getCurrentPosition(
{bool requestPermissionAfterLocationCheck = true}) → Future< PositionResponse> -
getLastKnownPosition(
{bool requestPermissionAfterLocationCheck = true}) → Future< PositionResponse> -
getLocationFromAddress(
String address) → Future< List< Location> > -
getPlacemarksFromCoordinates(
double latitude, double longitude) → Future< List< Placemark> > -
isLocationServicesEnabled(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppSettings(
) → Future< void> -
requestPermissions(
) → Future< LocationPermission> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited