moveTo method

Future<void> moveTo (Offset location, { Duration timeStamp: Duration.zero })

Send a move event moving the pointer to the given location.

Implementation

Future<void> moveTo(Offset location, { Duration timeStamp = Duration.zero }) {
  return TestAsyncUtils.guard<void>(() {
    assert(_pointer._isDown);
    return _dispatcher(_pointer.move(location, timeStamp: timeStamp), _result);
  });
}