LineInfo.fromContent constructor
LineInfo.fromContent(
- String content
Initialize a newly created set of line information corresponding to the
given file content
.
Implementation
factory LineInfo.fromContent(String content) =>
LineInfo(StringUtilities.computeLineStarts(content));