cast<T extends ECPoint<SCALAR, POINT>> method

T cast<T extends ECPoint<SCALAR, POINT>>()

Implementation

T cast<T extends ECPoint<SCALAR, POINT>>() {
  if (this is! T) throw CastFailedException<T>(value: this);
  return this as T;
}