copyWith method

Fields copyWith({
  1. UserDetails? assignee,
  2. IssueTypeDetails? issueType,
  3. IssueTypeDetails? issuetype,
  4. Priority? priority,
  5. StatusDetails? status,
  6. String? summary,
  7. TimeTrackingDetails? timetracking,
})

Implementation

Fields copyWith(
    {UserDetails? assignee,
    IssueTypeDetails? issueType,
    IssueTypeDetails? issuetype,
    Priority? priority,
    StatusDetails? status,
    String? summary,
    TimeTrackingDetails? timetracking}) {
  return Fields(
    assignee: assignee ?? this.assignee,
    issueType: issueType ?? this.issueType,
    issuetype: issuetype ?? this.issuetype,
    priority: priority ?? this.priority,
    status: status ?? this.status,
    summary: summary ?? this.summary,
    timetracking: timetracking ?? this.timetracking,
  );
}