copyWithWrapped method

WebApiModulesSettingsVehicleSettingsVehicleStatusVehicleStatus copyWithWrapped({
  1. Wrapped<String?>? vehicleStatusId,
  2. Wrapped<String?>? vehicleStatus,
  3. Wrapped<bool?>? availableToSchedule,
  4. Wrapped<String?>? color,
  5. Wrapped<bool?>? whiteText,
  6. Wrapped<bool?>? inactive,
  7. Wrapped<String?>? dateStamp,
  8. Wrapped<String?>? auditNote,
  9. Wrapped<String?>? recordTitle,
  10. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  11. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  12. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  13. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsVehicleSettingsVehicleStatusVehicleStatus
    copyWithWrapped(
        {Wrapped<String?>? vehicleStatusId,
        Wrapped<String?>? vehicleStatus,
        Wrapped<bool?>? availableToSchedule,
        Wrapped<String?>? color,
        Wrapped<bool?>? whiteText,
        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 WebApiModulesSettingsVehicleSettingsVehicleStatusVehicleStatus(
      vehicleStatusId: (vehicleStatusId != null
          ? vehicleStatusId.value
          : this.vehicleStatusId),
      vehicleStatus:
          (vehicleStatus != null ? vehicleStatus.value : this.vehicleStatus),
      availableToSchedule: (availableToSchedule != null
          ? availableToSchedule.value
          : this.availableToSchedule),
      color: (color != null ? color.value : this.color),
      whiteText: (whiteText != null ? whiteText.value : this.whiteText),
      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));
}