operator + method

Point operator +(
  1. Point operand
)

Implementation

Point operator +(Point operand) => Point(x + operand.x, y + operand.y);