toJson method
Implementation
Map<String, Object?> toJson() => {
'value': value,
'versionHex': versionHex,
'format': format,
'isPrivate': isPrivate,
'depth': depth,
'childNumber': childNumber,
'parentFingerprintHex': parentFingerprintHex,
'chainCodeHex': chainCodeHex,
'publicKeyHex': publicKeyHex
};