DiffCommentLineHighlight.thread constructor

DiffCommentLineHighlight.thread(
  1. DiffCommentAnchor anchor
)

Creates an existing-thread highlight from anchor.

Implementation

factory DiffCommentLineHighlight.thread(DiffCommentAnchor anchor) {
  return DiffCommentLineHighlight(
    key: anchor.key,
    kind: DiffCommentLineHighlightKind.thread,
  );
}