publicKey method
Returns the public key assocated with the extended key.
In case of ExtendedPublicKey returns self.
Implementation
@override
ExtendedPublicKey publicKey() {
return ExtendedPublicKey(
q: publicKeyFor(key!),
depth: depth,
childNumber: childNumber,
chainCode: chainCode,
parentFingerprint: parentFingerprint,
);
}