Rectangle<T extends num>.from constructor Null safety

Rectangle<T extends num>.from(
  1. Rectangle<T> r
)

Implementation

Rectangle.from(math.Rectangle<T> r) : this(r.left, r.top, r.width, r.height);