getBalance method
Implementation
Future<EtherAmount> getBalance({String? address}) async {
EthereumAddress a;
if (address != null && address != "") {
a = EthereumAddress.fromHex(address);
} else {
a = await _credentials.extractAddress();
}
return await _client.getBalance(a);
}