down method Null safety

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

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

Implementation

Future<void> down([MouseButton button = MouseButton.primary]) => _client.send(
    _handler.mouse.buildDownRequest(button),
    _handler.mouse.parseDownResponse);