CustomPoint<T extends num> constructor

const CustomPoint<T extends num>(
  1. num x,
  2. num y
)

Implementation

const CustomPoint(num x, num y) : super(x as T, y as T);