Bip32Path class
Represents a BIP32 derivation path, a sequence of key indices.
Constructors
-
Bip32Path({List<
Bip32KeyIndex> elems = const [], bool isAbsolute = true}) - Creates a Bip32Path instance.
Properties
-
elems
→ List<
Bip32KeyIndex> -
List of BIP32 key indices in the path.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAbsolute → bool
-
Indicates whether the path is absolute (starting from the master key).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addElem(
Bip32KeyIndex elem) → Bip32Path - Adds a key index element to the path and returns a new Bip32Path.
-
length(
) → int - Returns the length of the BIP32 path.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toList(
) → List< int> - Converts the BIP32 path to a list of integer key indices.
-
toString(
) → String -
override toString for return absolute path
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited