addressFromPrivateKey method
get address and avatar from privateKey.privateKey: string
Implementation
Future<AddressIconData> addressFromPrivateKey(
{required String privateKey}) async {
final acc = await service.addressFromPrivateKey(privateKey: privateKey);
if (acc['error'] != null) {
throw Exception(acc['error']);
}
return AddressIconData.fromJson(acc);
}