bottomRight property Null safety

Point<T> bottomRight

Implementation

@override
Point<T> get bottomRight => Point<T>(right, bottom);
void bottomRight=(Point<T> point)

Implementation

set bottomRight(Point<T> point) {
  width = point.x - left as T;
  height = point.y - top as T;
}