Slot constructor

Slot(
  1. SlotConstructorParams params
)

Implementation

Slot(SlotConstructorParams params)
    : _owner = params.satscardHandle,
      index = params.index,
      status = intToSlotStatus(params.status),
      address = dartStringFromCString(params.address),
      privkey = dartListFromCBinaryArray(params.privkey),
      pubkey = dartListFromCBinaryArray(params.pubkey),
      masterPK = dartListFromCBinaryArray(params.masterPK),
      chainCode = dartListFromCBinaryArray(params.chainCode);