copyWithWrapped method

WebApiModulesSettingsItemLocationHistoryItemLocationHistory copyWithWrapped({
  1. Wrapped<String?>? itemId,
  2. Wrapped<String?>? barCode,
  3. Wrapped<String?>? transferdate,
  4. Wrapped<String?>? transfertime,
  5. Wrapped<String?>? transferdatetime,
  6. Wrapped<String?>? fromlocation,
  7. Wrapped<String?>? tolocation,
  8. Wrapped<String?>? username,
  9. Wrapped<String?>? auditNote,
  10. Wrapped<String?>? recordTitle,
  11. Wrapped? urlIdentifier,
  12. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  13. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  14. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  15. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  16. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  17. Wrapped<bool?>? hasImport,
  18. Wrapped<bool?>? hasDocuments,
  19. Wrapped<String?>? createdByUserId,
  20. Wrapped<String?>? createdByUserName,
  21. Wrapped<String?>? createdDateTime,
  22. Wrapped<String?>? modifiedByUserId,
  23. Wrapped<String?>? modifiedByUserName,
  24. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesSettingsItemLocationHistoryItemLocationHistory copyWithWrapped({
  Wrapped<String?>? itemId,
  Wrapped<String?>? barCode,
  Wrapped<String?>? transferdate,
  Wrapped<String?>? transfertime,
  Wrapped<String?>? transferdatetime,
  Wrapped<String?>? fromlocation,
  Wrapped<String?>? tolocation,
  Wrapped<String?>? username,
  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 WebApiModulesSettingsItemLocationHistoryItemLocationHistory(
    itemId: (itemId != null ? itemId.value : this.itemId),
    barCode: (barCode != null ? barCode.value : this.barCode),
    transferdate: (transferdate != null
        ? transferdate.value
        : this.transferdate),
    transfertime: (transfertime != null
        ? transfertime.value
        : this.transfertime),
    transferdatetime: (transferdatetime != null
        ? transferdatetime.value
        : this.transferdatetime),
    fromlocation: (fromlocation != null
        ? fromlocation.value
        : this.fromlocation),
    tolocation: (tolocation != null ? tolocation.value : this.tolocation),
    username: (username != null ? username.value : this.username),
    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),
  );
}