asyncGetAddress method
Implementation
Future<ZilAddress?> asyncGetAddress(String? privateKey) async {
if (privateKey != null && Account.isPrivateKey.hasMatch(privateKey)) {
return await ZilAddress.asyncFromPrivateKey(privateKey);
} else {
return null;
}
}