setSize method Null safety
Sets the window size.
TODO(jingbian): Remove this, prefer setter.
Implementation
void setSize(Rectangle<int> size) {
this.size = size;
}
Sets the window size.
TODO(jingbian): Remove this, prefer setter.
void setSize(Rectangle<int> size) {
this.size = size;
}