SaplingZip32KeyData constructor

SaplingZip32KeyData({
  1. Bip32Depth? depth,
  2. Bip32KeyIndex? index,
  3. Bip32ChainCode? chainCode,
  4. Bip32FingerPrint? fingerPrint,
  5. required SaplingDiversifierKey dk,
})

Implementation

SaplingZip32KeyData({
  Bip32Depth? depth,
  Bip32KeyIndex? index,
  Bip32ChainCode? chainCode,
  Bip32FingerPrint? fingerPrint,
  required this.dk,
}) : depth = depth ?? Bip32Depth(0),
     index = index ?? Bip32KeyIndex(0),
     chainCode = chainCode ?? Bip32ChainCode(),
     fingerPrint = fingerPrint ?? Bip32FingerPrint();