addElem method

Bip32Path addElem(
  1. Bip32KeyIndex elem
)

Adds a key index element to the path and returns a new Bip32Path.

Implementation

Bip32Path addElem(Bip32KeyIndex elem) {
  return Bip32Path(elems: [...elems, elem], isAbsolute: isAbsolute);
}