operator * method

Point operator *(
  1. double value
)

Implementation

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