operator * method
Scale this point by factor
as if it were a vector.
Important Note: This function accepts a num
as its argument only
so that you can scale Point
Implementation
@override
Point<T> operator *(num /*T|int*/ factor) =>
Point<T>(x * factor as T, y * factor as T);