setLocation method Null safety

void setLocation(
  1. Point<int> point
)

Sets the window location.

TODO(jingbian): Remove this, prefer setter.

Implementation

void setLocation(Point<int> point) {
  location = point;
}