copyWith method
RequestTypeFieldDTO
copyWith({
- List<
RequestTypeFieldValueDTO> ? defaultValues, - String? description,
- String? fieldId,
- JsonTypeBean? jiraSchema,
- String? name,
- List<
String> ? presetValues, - bool? required,
- List<
RequestTypeFieldValueDTO> ? validValues, - bool? visible,
Implementation
RequestTypeFieldDTO copyWith(
{List<RequestTypeFieldValueDTO>? defaultValues,
String? description,
String? fieldId,
JsonTypeBean? jiraSchema,
String? name,
List<String>? presetValues,
bool? required,
List<RequestTypeFieldValueDTO>? validValues,
bool? visible}) {
return RequestTypeFieldDTO(
defaultValues: defaultValues ?? this.defaultValues,
description: description ?? this.description,
fieldId: fieldId ?? this.fieldId,
jiraSchema: jiraSchema ?? this.jiraSchema,
name: name ?? this.name,
presetValues: presetValues ?? this.presetValues,
required: required ?? this.required,
validValues: validValues ?? this.validValues,
visible: visible ?? this.visible,
);
}