DiffCommentLineHighlight.selected constructor
DiffCommentLineHighlight.selected(
- DiffCommentAnchor anchor
Creates a selected-line highlight from anchor.
Implementation
factory DiffCommentLineHighlight.selected(DiffCommentAnchor anchor) {
return DiffCommentLineHighlight(
key: anchor.key,
kind: DiffCommentLineHighlightKind.selected,
);
}