operator + method
Add other
.
other
を加算します。
Implementation
RectRange operator +(RectRange? other) {
if (other == null) {
return this;
}
return RectRange(
minX: minX + other.minX,
maxX: maxX + other.maxX,
minY: minY + other.minY,
maxY: maxY + other.maxY,
);
}