isIdentity method

  1. @override
bool isIdentity()
override

Checks whether the point is the identity.

Implementation

@override
bool isIdentity() {
  return u.isZero() && v == z;
}