onMotionChange abstract method

StreamSubscription<Location> onMotionChange(
  1. void callback(
    1. Location
    ), {
  2. Function? onError,
})

Subscribes to motion change events.

Implementation

StreamSubscription<Location> onMotionChange(
  void Function(Location) callback, {
  Function? onError,
});