pushBigInt method
Implementation
pushBigInt(BigInt x) async {
if (x == BigInt.from(-1)) {
pushNum(OpCode.pushm1);
} else if (x == BigInt.from(0)) {
pushNum(OpCode.push0);
} else if (x > BigInt.from(0) && x < BigInt.from(16)) {
pushNum(OpCode.push1 - 1 + x.toInt());
} else {
pushHex(Convert.bigIntToBytes(v: x, bigEndian: false));
}
}