down method

void down([
  1. MouseButton button = MouseButton.primary
])

Click and hold any mouse button (at the coordinates set by the last moveTo command).

Implementation

void down([MouseButton button = MouseButton.primary]) {
  _client.send(_handler.mouse.buildDownRequest(button),
      _handler.mouse.parseDownResponse);
}