AFCodeBuffer.fromFullPath constructor
Returns a code buffer containing the contents of fullPath
projectPath is still saved as a member variable onthe returned buffer.
Implementation
factory AFCodeBuffer.fromFullPath(List<String> projectPath, String fullPath) {
final file = File(fullPath);
const ls = LineSplitter();
final lines = ls.convert(file.readAsStringSync());
return AFCodeBuffer(projectPath: projectPath, lines: lines, modified: false, extraImports: <String>[]);
}