size property Null safety

Point<T> size

Implementation

Point<T> get size => Point<T>(width, height);
void size=(Point<T> point)

Implementation

set size(Point<T> point) {
  width = point.x;
  height = point.y;
}