getBalance method
Implementation
Future<BigInt> getBalance() async {
try {
var balance = await this
.client
.getBalance(web3.EthereumAddress.fromHex(this.contractAddress));
print(balance);
return balance.getInWei;
} catch (e) {
print(e);
return BigInt.zero;
}
}