DiffCommentLineKey.fromAnchor constructor
DiffCommentLineKey.fromAnchor(
- DiffCommentAnchor anchor
Creates a key from a rendered comment anchor.
Implementation
factory DiffCommentLineKey.fromAnchor(DiffCommentAnchor anchor) {
return DiffCommentLineKey(
path: anchor.path,
line: anchor.line,
side: anchor.side,
);
}