copyWithWrapped method

WebApiModulesHomeSuspendedSessionSuspendedSession copyWithWrapped({
  1. Wrapped<String?>? contractId,
  2. Wrapped<int?>? sessionNumber,
  3. Wrapped<String?>? deal,
  4. Wrapped<String?>? dealNumber,
  5. Wrapped<String?>? dealOrVendor,
  6. Wrapped<String?>? orderNumber,
  7. Wrapped<String?>? orderDescription,
  8. Wrapped<String?>? orderId,
  9. Wrapped<String?>? userName,
  10. Wrapped<String?>? userNameFirstMiddleLast,
  11. Wrapped<String?>? status,
  12. Wrapped<String?>? statusDate,
  13. Wrapped<String?>? usersId,
  14. Wrapped<String?>? contractDate,
  15. Wrapped<String?>? contractTime,
  16. Wrapped<String?>? dealId,
  17. Wrapped<String?>? departmentId,
  18. Wrapped<String?>? department,
  19. Wrapped<String?>? officeLocationId,
  20. Wrapped<String?>? warehouseId,
  21. Wrapped<String?>? warehouse,
  22. Wrapped<String?>? exchangeContractId,
  23. Wrapped<String?>? contractType,
  24. Wrapped<bool?>? isForcedSuspend,
  25. Wrapped<String?>? containerItemId,
  26. Wrapped<String?>? containerScannableItemId,
  27. Wrapped<String?>? auditNote,
  28. Wrapped<String?>? recordTitle,
  29. Wrapped? urlIdentifier,
  30. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  31. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  32. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  33. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  34. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  35. Wrapped<bool?>? hasImport,
  36. Wrapped<bool?>? hasDocuments,
  37. Wrapped<String?>? createdByUserId,
  38. Wrapped<String?>? createdByUserName,
  39. Wrapped<String?>? createdDateTime,
  40. Wrapped<String?>? modifiedByUserId,
  41. Wrapped<String?>? modifiedByUserName,
  42. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesHomeSuspendedSessionSuspendedSession copyWithWrapped({
  Wrapped<String?>? contractId,
  Wrapped<int?>? sessionNumber,
  Wrapped<String?>? deal,
  Wrapped<String?>? dealNumber,
  Wrapped<String?>? dealOrVendor,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? orderDescription,
  Wrapped<String?>? orderId,
  Wrapped<String?>? userName,
  Wrapped<String?>? userNameFirstMiddleLast,
  Wrapped<String?>? status,
  Wrapped<String?>? statusDate,
  Wrapped<String?>? usersId,
  Wrapped<String?>? contractDate,
  Wrapped<String?>? contractTime,
  Wrapped<String?>? dealId,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? department,
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouse,
  Wrapped<String?>? exchangeContractId,
  Wrapped<String?>? contractType,
  Wrapped<bool?>? isForcedSuspend,
  Wrapped<String?>? containerItemId,
  Wrapped<String?>? containerScannableItemId,
  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<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesHomeSuspendedSessionSuspendedSession(
    contractId: (contractId != null ? contractId.value : this.contractId),
    sessionNumber: (sessionNumber != null
        ? sessionNumber.value
        : this.sessionNumber),
    deal: (deal != null ? deal.value : this.deal),
    dealNumber: (dealNumber != null ? dealNumber.value : this.dealNumber),
    dealOrVendor: (dealOrVendor != null
        ? dealOrVendor.value
        : this.dealOrVendor),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    orderDescription: (orderDescription != null
        ? orderDescription.value
        : this.orderDescription),
    orderId: (orderId != null ? orderId.value : this.orderId),
    userName: (userName != null ? userName.value : this.userName),
    userNameFirstMiddleLast: (userNameFirstMiddleLast != null
        ? userNameFirstMiddleLast.value
        : this.userNameFirstMiddleLast),
    status: (status != null ? status.value : this.status),
    statusDate: (statusDate != null ? statusDate.value : this.statusDate),
    usersId: (usersId != null ? usersId.value : this.usersId),
    contractDate: (contractDate != null
        ? contractDate.value
        : this.contractDate),
    contractTime: (contractTime != null
        ? contractTime.value
        : this.contractTime),
    dealId: (dealId != null ? dealId.value : this.dealId),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    department: (department != null ? department.value : this.department),
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    exchangeContractId: (exchangeContractId != null
        ? exchangeContractId.value
        : this.exchangeContractId),
    contractType: (contractType != null
        ? contractType.value
        : this.contractType),
    isForcedSuspend: (isForcedSuspend != null
        ? isForcedSuspend.value
        : this.isForcedSuspend),
    containerItemId: (containerItemId != null
        ? containerItemId.value
        : this.containerItemId),
    containerScannableItemId: (containerScannableItemId != null
        ? containerScannableItemId.value
        : this.containerScannableItemId),
    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),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    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),
  );
}