moveBy method Null safety

Future<void> moveBy(
  1. Offset offset,
  2. {Duration timeStamp =}

Send a move event moving the pointer by the given offset.

If the pointer is down, then a move event is dispatched. If the pointer is up, then a hover event is dispatched.


Future<void> moveBy(Offset offset, { Duration timeStamp = }) {
  assert(_pointer.location != null);
  return moveTo(_pointer.location! + offset, timeStamp: timeStamp);