onMotionChange method
override
Subscribes to motion change events.
Implementation
@override
StreamSubscription<Location> onMotionChange(
void Function(Location) callback, {
Function? onError,
}) {
return _instance.onMotionChange(callback, onError: onError);
}