EthereumAddress.fromBigInt constructor
EthereumAddress.fromBigInt(
- BigInt val
From a BigInt. The value must be convertible into the standard Ethereum address format of 20 bytes, however unlike the string constructor smaller values will be 00 padded to make up the 20 byte length.
Implementation
EthereumAddress.fromBigInt(BigInt val) {
_bigint = val;
_string = _bigIntToHexString(val);
}