isZero method

bool isZero()

Checks if the Edwards curve point represents the point at infinity.

Implementation

bool isZero() =>
    _coords.isEmpty ||
    (_coords[0] == BigInt.zero || _coords[3] == BigInt.zero);