copyWithWrapped method

WebApiModulesSettingsVehicleModelVehicleModel copyWithWrapped({
  1. Wrapped<String?>? vehicleModelId,
  2. Wrapped<String?>? vehicleModel,
  3. Wrapped<String?>? vehicleMakeId,
  4. Wrapped<String?>? vehicleMake,
  5. Wrapped<String?>? dateStamp,
  6. Wrapped<String?>? auditNote,
  7. Wrapped<String?>? recordTitle,
  8. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  9. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  10. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  11. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsVehicleModelVehicleModel copyWithWrapped(
    {Wrapped<String?>? vehicleModelId,
    Wrapped<String?>? vehicleModel,
    Wrapped<String?>? vehicleMakeId,
    Wrapped<String?>? vehicleMake,
    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 WebApiModulesSettingsVehicleModelVehicleModel(
      vehicleModelId: (vehicleModelId != null
          ? vehicleModelId.value
          : this.vehicleModelId),
      vehicleModel:
          (vehicleModel != null ? vehicleModel.value : this.vehicleModel),
      vehicleMakeId:
          (vehicleMakeId != null ? vehicleMakeId.value : this.vehicleMakeId),
      vehicleMake:
          (vehicleMake != null ? vehicleMake.value : this.vehicleMake),
      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));
}