click method

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

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

Implementation

Future<void> click([MouseButton button = MouseButton.primary]) =>
    _client.send(_handler.mouse.buildClickRequest(button),
        _handler.mouse.parseClickResponse);