Principal class

Implemented types
Implementers

Constructors

Principal(Uint8List _principal, {Uint8List? subAccount})
const
Principal.anonymous()
factory
Principal.create(int uSize, Uint8List data, Uint8List? subAccount)
factory
Principal.from(Object? other)
factory
Principal.fromHex(String hex, {String? subAccountHex})
factory
Principal.fromText(String text)
factory
Principal.selfAuthenticating(Uint8List publicKey)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subAccount Uint8List?
no setter

Methods

compareTo(Principal other) int
Compares this object to another object.
override
isAnonymous() bool
newSubAccount(Uint8List? subAccount) Principal
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAccountId() Uint8List
toHex() String
toJson() String
toString() String
A string representation of this object.
override
toText() String
toUint8List() Uint8List

Operators

operator <=(Principal other) bool
operator ==(Object other) bool
The equality operator.
override
operator >=(Principal other) bool