derive method
Derives a key at index
returning the same type of key: either public or
private. The index
can inlcude the hardenBit to specify that it is
hardened.
Implementation
@override
HDPrivateKey derive(int index) => super.derive(index) as HDPrivateKey;