copyWith method

IssueLink copyWith({
  1. String? id,
  2. LinkedIssue? inwardIssue,
  3. LinkedIssue? outwardIssue,
  4. String? self,
  5. IssueLinkType? type,
})

Implementation

IssueLink copyWith(
    {String? id,
    LinkedIssue? inwardIssue,
    LinkedIssue? outwardIssue,
    String? self,
    IssueLinkType? type}) {
  return IssueLink(
    id: id ?? this.id,
    inwardIssue: inwardIssue ?? this.inwardIssue,
    outwardIssue: outwardIssue ?? this.outwardIssue,
    self: self ?? this.self,
    type: type ?? this.type,
  );
}