copyWithWrapped method

WebApiModulesSettingsVehicleSettingsLicenseClassLicenseClass copyWithWrapped({
  1. Wrapped<String?>? licenseClassId,
  2. Wrapped<String?>? licenseClass,
  3. Wrapped<String?>? description,
  4. Wrapped<bool?>? regulated,
  5. Wrapped<bool?>? inactive,
  6. Wrapped<String?>? dateStamp,
  7. Wrapped<String?>? auditNote,
  8. Wrapped<String?>? recordTitle,
  9. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  10. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  11. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  12. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsVehicleSettingsLicenseClassLicenseClass copyWithWrapped(
    {Wrapped<String?>? licenseClassId,
    Wrapped<String?>? licenseClass,
    Wrapped<String?>? description,
    Wrapped<bool?>? regulated,
    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 WebApiModulesSettingsVehicleSettingsLicenseClassLicenseClass(
      licenseClassId: (licenseClassId != null
          ? licenseClassId.value
          : this.licenseClassId),
      licenseClass:
          (licenseClass != null ? licenseClass.value : this.licenseClass),
      description:
          (description != null ? description.value : this.description),
      regulated: (regulated != null ? regulated.value : this.regulated),
      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));
}