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<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  19. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  20. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  21. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

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<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  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),
      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));
}