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? urlIdentifier,
  22. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  23. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  24. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  25. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  26. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  27. Wrapped<bool?>? hasImport,
  28. Wrapped<String?>? createdByUserId,
  29. Wrapped<String?>? createdByUserName,
  30. Wrapped<String?>? createdDateTime,
  31. Wrapped<String?>? modifiedByUserId,
  32. Wrapped<String?>? modifiedByUserName,
  33. Wrapped<String?>? modifiedDateTime,
})

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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}