Principal class
Constructors
- Principal.new(Uint8List bytes)
- Principal.fromPublicKey(Uint8List publicKey, [IcpWalletType? walletType])
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toText(
) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encodeLen(
dynamic buf, dynamic offset, dynamic len) → int -
encodeLenBytes(
dynamic len) → int -
getRawPublicKey(
Uint8List publicKey, [IcpWalletType? walletType]) → dynamic -
splitStringIntoGroups(
String input) → String -
wrapDER(
Uint8List payload, Uint8List oid) → Uint8List