ProviderChangeEvent class

Event object provided to BackgroundGeolocation.onProviderChange

Constructors

ProviderChangeEvent(Map event)

Properties

accuracyAuthorization int
[Precise: On] switch on the location authorization dialog allowing users to disable high-accuracy location.
getter/setter pair
enabled bool
true when device location-services is enabled.
getter/setter pair
gps bool
true if GPS location provider is enabled.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
network bool
true if network location provider is enabled.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
AUTORIZATION_STATUS
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Return Map representaion of ProviderChangeEvent
toString() String
Return String representation of ProviderChangeEvent for print to logs.
override

Operators

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