LocusLocation class

Location operations.

Constructors

LocusLocation()

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

changePace(bool isMoving) Future<bool>
Changes the motion state (moving/stationary).
getCurrentPosition({int? samples, int? timeout, int? maximumAge, bool? persist, int? desiredAccuracy, JsonMap? extras}) Future<Location>
Gets the current position.
getLocations({int? limit}) Future<List<Location>>
Gets stored locations.
getLocationSummary({DateTime? date, LocationQuery? query}) Future<LocationSummary>
Gets a summary of location history.
queryLocations(LocationQuery query) Future<List<Location>>
Queries stored locations with filtering and pagination.
requestPermission() Future<bool>
Requests all required permissions.
setOdometer(double value) Future<double>
Sets the odometer value.