getAccountIdFromPrincipalID function

Uint8List getAccountIdFromPrincipalID(
  1. String id
)

Implementation

Uint8List getAccountIdFromPrincipalID(String id) {
  return Principal.fromText(id).toAccountId();
}