Is bignum a negative number?
bignum
bool isNegative(Uint8List bignum) { return (bignum[bignum.length - 1] & 0x80) != 0; }