copyWith method

QueueDTO copyWith({
  1. SelfLinkDTO? links,
  2. List<String>? fields,
  3. String? id,
  4. int? issueCount,
  5. String? jql,
  6. String? name,
})

Implementation

QueueDTO copyWith(
    {SelfLinkDTO? links,
    List<String>? fields,
    String? id,
    int? issueCount,
    String? jql,
    String? name}) {
  return QueueDTO(
    links: links ?? this.links,
    fields: fields ?? this.fields,
    id: id ?? this.id,
    issueCount: issueCount ?? this.issueCount,
    jql: jql ?? this.jql,
    name: name ?? this.name,
  );
}