copyWithWrapped method

WebApiModulesSettingsCrewPositionCrewPosition copyWithWrapped({
  1. Wrapped<String?>? crewPositionId,
  2. Wrapped<String?>? crewId,
  3. Wrapped<String?>? rateId,
  4. Wrapped<String?>? laborTypeId,
  5. Wrapped<String?>? laborType,
  6. Wrapped<String?>? description,
  7. Wrapped<double?>? costHourly,
  8. Wrapped<double?>? costDaily,
  9. Wrapped<double?>? costWeekly,
  10. Wrapped<double?>? costMonthly,
  11. Wrapped<bool?>? isPrimary,
  12. Wrapped<String?>? effectiveDate,
  13. Wrapped<String?>? endDate,
  14. Wrapped<bool?>? inactive,
  15. Wrapped<String?>? dateStamp,
  16. Wrapped<String?>? auditNote,
  17. Wrapped<String?>? recordTitle,
  18. Wrapped? urlIdentifier,
  19. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  20. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  21. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  22. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  23. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  24. Wrapped<bool?>? hasImport,
  25. Wrapped<bool?>? hasDocuments,
  26. Wrapped<String?>? createdByUserId,
  27. Wrapped<String?>? createdByUserName,
  28. Wrapped<String?>? createdDateTime,
  29. Wrapped<String?>? modifiedByUserId,
  30. Wrapped<String?>? modifiedByUserName,
  31. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesSettingsCrewPositionCrewPosition copyWithWrapped({
  Wrapped<String?>? crewPositionId,
  Wrapped<String?>? crewId,
  Wrapped<String?>? rateId,
  Wrapped<String?>? laborTypeId,
  Wrapped<String?>? laborType,
  Wrapped<String?>? description,
  Wrapped<double?>? costHourly,
  Wrapped<double?>? costDaily,
  Wrapped<double?>? costWeekly,
  Wrapped<double?>? costMonthly,
  Wrapped<bool?>? isPrimary,
  Wrapped<String?>? effectiveDate,
  Wrapped<String?>? endDate,
  Wrapped<bool?>? inactive,
  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<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesSettingsCrewPositionCrewPosition(
    crewPositionId: (crewPositionId != null
        ? crewPositionId.value
        : this.crewPositionId),
    crewId: (crewId != null ? crewId.value : this.crewId),
    rateId: (rateId != null ? rateId.value : this.rateId),
    laborTypeId: (laborTypeId != null ? laborTypeId.value : this.laborTypeId),
    laborType: (laborType != null ? laborType.value : this.laborType),
    description: (description != null ? description.value : this.description),
    costHourly: (costHourly != null ? costHourly.value : this.costHourly),
    costDaily: (costDaily != null ? costDaily.value : this.costDaily),
    costWeekly: (costWeekly != null ? costWeekly.value : this.costWeekly),
    costMonthly: (costMonthly != null ? costMonthly.value : this.costMonthly),
    isPrimary: (isPrimary != null ? isPrimary.value : this.isPrimary),
    effectiveDate: (effectiveDate != null
        ? effectiveDate.value
        : this.effectiveDate),
    endDate: (endDate != null ? endDate.value : this.endDate),
    inactive: (inactive != null ? inactive.value : this.inactive),
    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),
    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),
  );
}