copyWithWrapped method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<String?>? inventoryId,
  5. Wrapped<String?>? iCode,
  6. Wrapped<String?>? trackedBy,
  7. Wrapped<String?>? description,
  8. Wrapped<String?>? itemId,
  9. Wrapped<String?>? consignor,
  10. Wrapped<bool?>? showAddReplace,
  11. Wrapped<double?>? countedQuantity,
  12. Wrapped<String?>? genericMessage,
  13. Wrapped<int?>? physicalItemId,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse
copyWithWrapped({
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? iCode,
  Wrapped<String?>? trackedBy,
  Wrapped<String?>? description,
  Wrapped<String?>? itemId,
  Wrapped<String?>? consignor,
  Wrapped<bool?>? showAddReplace,
  Wrapped<double?>? countedQuantity,
  Wrapped<String?>? genericMessage,
  Wrapped<int?>? physicalItemId,
}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse(
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    iCode: (iCode != null ? iCode.value : this.iCode),
    trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
    description: (description != null ? description.value : this.description),
    itemId: (itemId != null ? itemId.value : this.itemId),
    consignor: (consignor != null ? consignor.value : this.consignor),
    showAddReplace: (showAddReplace != null
        ? showAddReplace.value
        : this.showAddReplace),
    countedQuantity: (countedQuantity != null
        ? countedQuantity.value
        : this.countedQuantity),
    genericMessage: (genericMessage != null
        ? genericMessage.value
        : this.genericMessage),
    physicalItemId: (physicalItemId != null
        ? physicalItemId.value
        : this.physicalItemId),
  );
}