copyWithWrapped method

WebApiModulesInventoryCompleteQcCompleteQcItemResponse copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<String?>? inventoryId,
  5. Wrapped<String?>? iCode,
  6. Wrapped<String?>? description,
  7. Wrapped<String?>? conditionId,
  8. Wrapped<String?>? condition,
  9. Wrapped<String?>? itemId,
  10. Wrapped<String?>? itemQcId,
  11. Wrapped<bool?>? cannotQcItemBecauseOfStatus,
  12. Wrapped<bool?>? itemDoesNotNeedQc,
  13. Wrapped<bool?>? showFootCandles,
  14. Wrapped<int?>? requiredFootCandles,
  15. Wrapped<bool?>? showSoftwareVersion,
  16. Wrapped<String?>? requiredSoftwareVersion,
  17. Wrapped<bool?>? showAssetUsage,
  18. Wrapped<bool?>? showLampUsage,
  19. Wrapped<bool?>? showStrikes,
  20. Wrapped<int?>? lampCount,
})

Implementation

WebApiModulesInventoryCompleteQcCompleteQcItemResponse copyWithWrapped(
    {Wrapped<int?>? status,
    Wrapped<bool?>? success,
    Wrapped<String?>? msg,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<String?>? conditionId,
    Wrapped<String?>? condition,
    Wrapped<String?>? itemId,
    Wrapped<String?>? itemQcId,
    Wrapped<bool?>? cannotQcItemBecauseOfStatus,
    Wrapped<bool?>? itemDoesNotNeedQc,
    Wrapped<bool?>? showFootCandles,
    Wrapped<int?>? requiredFootCandles,
    Wrapped<bool?>? showSoftwareVersion,
    Wrapped<String?>? requiredSoftwareVersion,
    Wrapped<bool?>? showAssetUsage,
    Wrapped<bool?>? showLampUsage,
    Wrapped<bool?>? showStrikes,
    Wrapped<int?>? lampCount}) {
  return WebApiModulesInventoryCompleteQcCompleteQcItemResponse(
      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),
      description:
          (description != null ? description.value : this.description),
      conditionId:
          (conditionId != null ? conditionId.value : this.conditionId),
      condition: (condition != null ? condition.value : this.condition),
      itemId: (itemId != null ? itemId.value : this.itemId),
      itemQcId: (itemQcId != null ? itemQcId.value : this.itemQcId),
      cannotQcItemBecauseOfStatus: (cannotQcItemBecauseOfStatus != null
          ? cannotQcItemBecauseOfStatus.value
          : this.cannotQcItemBecauseOfStatus),
      itemDoesNotNeedQc: (itemDoesNotNeedQc != null
          ? itemDoesNotNeedQc.value
          : this.itemDoesNotNeedQc),
      showFootCandles: (showFootCandles != null
          ? showFootCandles.value
          : this.showFootCandles),
      requiredFootCandles: (requiredFootCandles != null
          ? requiredFootCandles.value
          : this.requiredFootCandles),
      showSoftwareVersion: (showSoftwareVersion != null
          ? showSoftwareVersion.value
          : this.showSoftwareVersion),
      requiredSoftwareVersion: (requiredSoftwareVersion != null
          ? requiredSoftwareVersion.value
          : this.requiredSoftwareVersion),
      showAssetUsage: (showAssetUsage != null
          ? showAssetUsage.value
          : this.showAssetUsage),
      showLampUsage:
          (showLampUsage != null ? showLampUsage.value : this.showLampUsage),
      showStrikes:
          (showStrikes != null ? showStrikes.value : this.showStrikes),
      lampCount: (lampCount != null ? lampCount.value : this.lampCount));
}