size property Null safety

Rectangle<int> size

The outer size of the window.

Implementation

Rectangle<int> get size => _client.send(
    _handler.window.buildSizeRequest(), _handler.window.parseSizeResponse);
void size=(Rectangle<int> value)

Sets the window size.

Implementation

set size(Rectangle<int> value) {
  _client.send(_handler.window.buildSetSizeRequest(value),
      _handler.window.parseSetSizeResponse);
}