copyWith method

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

Implementation

WebApiModulesSettingsVehicleModelVehicleModel copyWith(
    {String? vehicleModelId,
    String? vehicleModel,
    String? vehicleMakeId,
    String? vehicleMake,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsVehicleModelVehicleModel(
      vehicleModelId: vehicleModelId ?? this.vehicleModelId,
      vehicleModel: vehicleModel ?? this.vehicleModel,
      vehicleMakeId: vehicleMakeId ?? this.vehicleMakeId,
      vehicleMake: vehicleMake ?? this.vehicleMake,
      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);
}