SolAddress.fromPublicKey constructor
Constructs a Solana address from a public key.
Implementation
factory SolAddress.fromPublicKey(List<int> pubKeyBytes) {
final address = SolAddrEncoder().encodeKey(pubKeyBytes);
return SolAddress._(address);
}