parsePath static method
Parses a BIP85 hex derivation path and returns the number of bytes and index.
Implementation
static ({int numBytes, int index}) parsePath(String path) {
final components = Bip85Application.parsePathComponents(
path: path,
application: HexApplication(),
);
return (numBytes: components[0], index: components[1]);
}