copyWith method

UiModificationContextDetails copyWith({
  1. String? id,
  2. bool? isAvailable,
  3. String? issueTypeId,
  4. String? projectId,
  5. String? viewType,
})

Implementation

UiModificationContextDetails copyWith(
    {String? id,
    bool? isAvailable,
    String? issueTypeId,
    String? projectId,
    String? viewType}) {
  return UiModificationContextDetails(
    id: id ?? this.id,
    isAvailable: isAvailable ?? this.isAvailable,
    issueTypeId: issueTypeId ?? this.issueTypeId,
    projectId: projectId ?? this.projectId,
    viewType: viewType ?? this.viewType,
  );
}