initPrincipal method

dynamic initPrincipal()

Implementation

initPrincipal() {
  principal = Principal.fromPublicKey(publicKey);
}