fromHex static method

Principal fromHex(
  1. String hex
)

Implementation

static Principal fromHex(String hex) {
  return Principal(fromHexString(hex));
}