copyFrom method Null safety

void copyFrom(
  1. Rectangle<T> r
)

Implementation

void copyFrom(math.Rectangle<T> r) {
  setTo(r.left, r.top, r.width, r.height);
}