operator / method
Create new CustomPoint where x and y values are divided by factor
Implementation
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 divided by factor
CustomPoint<T> operator /(num factor) {
return CustomPoint<T>((x / factor) as T, (y / factor) as T);
}