copyWith method

SearchRequestBean copyWith({
  1. List<String>? expand,
  2. List<String>? fields,
  3. bool? fieldsByKeys,
  4. String? jql,
  5. int? maxResults,
  6. List<String>? properties,
  7. int? startAt,
  8. SearchRequestBeanValidateQuery? validateQuery,
})

Implementation

SearchRequestBean copyWith(
    {List<String>? expand,
    List<String>? fields,
    bool? fieldsByKeys,
    String? jql,
    int? maxResults,
    List<String>? properties,
    int? startAt,
    SearchRequestBeanValidateQuery? validateQuery}) {
  return SearchRequestBean(
    expand: expand ?? this.expand,
    fields: fields ?? this.fields,
    fieldsByKeys: fieldsByKeys ?? this.fieldsByKeys,
    jql: jql ?? this.jql,
    maxResults: maxResults ?? this.maxResults,
    properties: properties ?? this.properties,
    startAt: startAt ?? this.startAt,
    validateQuery: validateQuery ?? this.validateQuery,
  );
}