emitMotionChange method

void emitMotionChange(
  1. Location location
)

Emits a mock motion change event.

Implementation

void emitMotionChange(Location location) {
  _motionChangeController.add(location);
  _emitEvent(EventType.motionChange, location);
}