click method Null safety

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

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

Implementation

void click([MouseButton button = MouseButton.primary]) {
  _client.send(_handler.mouse.buildClickRequest(button),
      _handler.mouse.parseClickResponse);
}