up method Null safety

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

Releases the mouse button previously held (where the mouse is currently at).

Implementation

void up([MouseButton button = MouseButton.primary]) {
  _client.send(
      _handler.mouse.buildUpRequest(button), _handler.mouse.parseUpResponse);
}