Bip32Path constructor

Bip32Path({
  1. List<Bip32KeyIndex>? elems,
  2. bool isAbsolute = true,
})

Creates a Bip32Path instance.

elems is an optional list of key indices in the path. isAbsolute specifies if the path is absolute (default: true).

Implementation

Bip32Path({List<Bip32KeyIndex>? elems, this.isAbsolute = true})
    : elems = elems ?? List.empty(growable: true);