operator * method

Point operator *(
  1. double operand
)

Implementation

Point operator *(double operand) => Point(x * operand, y * operand);