copyWith method

Configuration copyWith({
  1. bool? attachmentsEnabled,
  2. bool? issueLinkingEnabled,
  3. bool? subTasksEnabled,
  4. TimeTrackingConfiguration? timeTrackingConfiguration,
  5. bool? timeTrackingEnabled,
  6. bool? unassignedIssuesAllowed,
  7. bool? votingEnabled,
  8. bool? watchingEnabled,
})

Implementation

Configuration copyWith(
    {bool? attachmentsEnabled,
    bool? issueLinkingEnabled,
    bool? subTasksEnabled,
    TimeTrackingConfiguration? timeTrackingConfiguration,
    bool? timeTrackingEnabled,
    bool? unassignedIssuesAllowed,
    bool? votingEnabled,
    bool? watchingEnabled}) {
  return Configuration(
    attachmentsEnabled: attachmentsEnabled ?? this.attachmentsEnabled,
    issueLinkingEnabled: issueLinkingEnabled ?? this.issueLinkingEnabled,
    subTasksEnabled: subTasksEnabled ?? this.subTasksEnabled,
    timeTrackingConfiguration:
        timeTrackingConfiguration ?? this.timeTrackingConfiguration,
    timeTrackingEnabled: timeTrackingEnabled ?? this.timeTrackingEnabled,
    unassignedIssuesAllowed:
        unassignedIssuesAllowed ?? this.unassignedIssuesAllowed,
    votingEnabled: votingEnabled ?? this.votingEnabled,
    watchingEnabled: watchingEnabled ?? this.watchingEnabled,
  );
}