copyWithWrapped method

WebApiModulesHomeControlsInventoryPrepInventoryPrep copyWithWrapped({
  1. Wrapped<String?>? inventoryPrepId,
  2. Wrapped<String?>? inventoryId,
  3. Wrapped<String?>? iCode,
  4. Wrapped<String?>? description,
  5. Wrapped<String?>? prepRateId,
  6. Wrapped<String?>? prepICode,
  7. Wrapped<String?>? prepDescription,
  8. Wrapped<String?>? prepUnit,
  9. Wrapped<String?>? prepUnitType,
  10. Wrapped<bool?>? isDefault,
  11. Wrapped<double?>? prepRate,
  12. Wrapped<String?>? prepTime,
  13. Wrapped<double?>? prepExtended,
  14. Wrapped<double?>? qtyOrdered,
  15. Wrapped<double?>? price,
  16. Wrapped<bool?>? orderId,
  17. Wrapped<bool?>? masteritemId,
  18. Wrapped<String?>? dateStamp,
  19. Wrapped<String?>? auditNote,
  20. Wrapped<String?>? recordTitle,
  21. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  22. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  23. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  24. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryPrepInventoryPrep copyWithWrapped(
    {Wrapped<String?>? inventoryPrepId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<String?>? prepRateId,
    Wrapped<String?>? prepICode,
    Wrapped<String?>? prepDescription,
    Wrapped<String?>? prepUnit,
    Wrapped<String?>? prepUnitType,
    Wrapped<bool?>? isDefault,
    Wrapped<double?>? prepRate,
    Wrapped<String?>? prepTime,
    Wrapped<double?>? prepExtended,
    Wrapped<double?>? qtyOrdered,
    Wrapped<double?>? price,
    Wrapped<bool?>? orderId,
    Wrapped<bool?>? masteritemId,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsInventoryPrepInventoryPrep(
      inventoryPrepId: (inventoryPrepId != null
          ? inventoryPrepId.value
          : this.inventoryPrepId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      prepRateId: (prepRateId != null ? prepRateId.value : this.prepRateId),
      prepICode: (prepICode != null ? prepICode.value : this.prepICode),
      prepDescription: (prepDescription != null
          ? prepDescription.value
          : this.prepDescription),
      prepUnit: (prepUnit != null ? prepUnit.value : this.prepUnit),
      prepUnitType:
          (prepUnitType != null ? prepUnitType.value : this.prepUnitType),
      isDefault: (isDefault != null ? isDefault.value : this.isDefault),
      prepRate: (prepRate != null ? prepRate.value : this.prepRate),
      prepTime: (prepTime != null ? prepTime.value : this.prepTime),
      prepExtended:
          (prepExtended != null ? prepExtended.value : this.prepExtended),
      qtyOrdered: (qtyOrdered != null ? qtyOrdered.value : this.qtyOrdered),
      price: (price != null ? price.value : this.price),
      orderId: (orderId != null ? orderId.value : this.orderId),
      masteritemId:
          (masteritemId != null ? masteritemId.value : this.masteritemId),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}