operator + method

Offset operator +(
  1. Offset other
)

Implementation

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