operator * method
Create new CustomPoint where x and y values are multiplied by
factor
Implementation
@override
CustomPoint<T> operator *(num factor) {
return CustomPoint<T>((x * factor) as T, (y * factor) as T);
}
Create new CustomPoint where x and y values are multiplied by
factor
@override
CustomPoint<T> operator *(num factor) {
return CustomPoint<T>((x * factor) as T, (y * factor) as T);
}