List<int> toBytes() => [ keyData.depth.depth, ...keyData.fingerPrint.toBytes(), ...keyData.index.toBytes(Endian.little), ...keyData.chainCode.toBytes(), ...sk.toBytes(), ...keyData.dk.toBytes(), ];