MethodChannelLocationWakeup class
An implementation of LocationWakeupPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- LocationWakeupPlatform
- MethodChannelLocationWakeup
Constructors
Properties
- channel → MethodChannel
-
final
- eventChannel → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locationUpdates → Stream
-
A stream of location changes
no setteroverride
- 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
override
-
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited