getPublicKey method

String? getPublicKey()

returns public key of currently logged in account or null if not logged in

Implementation

String? getPublicKey() {
  return getLoggedAccount()?.pubkey;
}