LocationWakeup class

Monitors the device's location for significant changes and wakes up the app when there is a change

Constructors

LocationWakeup.new()
Constructs a LocationWakeup plugin

Properties

hashCode int
The hash code for this object.
no setterinherited
locationUpdates Stream<LocationResult>
A stream of location changes
no setter
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
startMonitoring() Future<void>
Start listening for location changes
stopMonitoring() Future<void>
Stops listening to the system location changes and disposes platform resources. This plugin is only designed to start once, so if you need to listen again, you will need to create a new instance of this plugin.
toString() String
A string representation of this object.
inherited

Operators

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