onBigintResponse static method
Converts a dynamic response to a BigInt, handling hexadecimal conversion.
Implementation
static BigInt onBigintResponse(dynamic result) {
if (result == "0x") return BigInt.zero;
return BigInt.parse(StringUtils.strip0x(result), radix: 16);
}