copyWithWrapped method

Implementation

WebApiModulesInventoryInventoryReceiptAssignICodeResponse copyWithWrapped({
  Wrapped<String?>? iCode,
  Wrapped<String?>? inventoryId,
  Wrapped<bool?>? assigned,
  Wrapped<int?>? status,
  Wrapped<String?>? message,
  Wrapped<WebApiModulesInventoryInventoryReceiptItemBarcodeEnableResponse?>?
  barcodeData,
}) {
  return WebApiModulesInventoryInventoryReceiptAssignICodeResponse(
    iCode: (iCode != null ? iCode.value : this.iCode),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    assigned: (assigned != null ? assigned.value : this.assigned),
    status: (status != null ? status.value : this.status),
    message: (message != null ? message.value : this.message),
    barcodeData: (barcodeData != null ? barcodeData.value : this.barcodeData),
  );
}