State class

Expresses the current state of the plugin, including all Config options.

Inheritance

Constructors

State.new(Map? data)

Properties

debug bool?
Configure the plugin to emit sound effects and local-notifications during development.
getter/setter pairinherited
desiredAccuracy int?
Specify the desired accuracy of the geolocation system.
getter/setter pairinherited
distanceFilter double?
distanceFilter (Applicable for both iOS and Android)
getter/setter pairinherited
fastestLocationUpdateInterval int?
fastestLocationUpdateInterval (Android Only)
getter/setter pairinherited
hasEnabledBackgroundPermission bool?
Whether the user has enabled background permission.
getter/setter pair
hasEnabledLocationPermission bool?
Whether the user has enabled location permission.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
Optional HTTP headers applied to each HTTP request.
getter/setter pairinherited
location LocationConfig?
The configuration settings for location tracking.
getter/setter pairinherited
locationUpdateInterval int?
locationUpdateInterval (Android Only)
getter/setter pairinherited
maxAcceptableAccuracy double?
maxAcceptableAccuracy (Applicable for both iOS and Android)
getter/setter pairinherited
maxAcceptableSpeedAccuracy double?
maxAcceptableSpeedAccuracy (Android Only)
getter/setter pairinherited
notification CoffeeBackgroundNotification?
(Android only) Configure the persistent foreground notification.
getter/setter pairinherited
params Map<String, dynamic>?
Optional HTTP params appended to the JSON body of each HTTP request.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverUrl String?
Your server url where you wish to POST locations to.
getter/setter pairinherited
stopOnTerminate bool?
Controls whether to continue location-tracking after application is terminated.
getter/setter pairinherited

Methods

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

Operators

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