operator + method Null safety

Radius operator +(
  1. Radius other
)

Binary addition operator.

Returns a radius whose x value is the sum of the x values of the two operands, and whose y value is the sum of the y values of the two operands.

Implementation

Radius operator +(Radius other) => Radius.elliptical(x + other.x, y + other.y);