copyWith method

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

Implementation

WebApiModulesSettingsVehicleSettingsLicenseClassLicenseClass copyWith(
    {String? licenseClassId,
    String? licenseClass,
    String? description,
    bool? regulated,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsVehicleSettingsLicenseClassLicenseClass(
      licenseClassId: licenseClassId ?? this.licenseClassId,
      licenseClass: licenseClass ?? this.licenseClass,
      description: description ?? this.description,
      regulated: regulated ?? this.regulated,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}