load method
Parses the Dart file at path into a CompilationUnit.
Implementation
CompilationUnit load(String path) {
return parseFile(
path: path,
featureSet: FeatureSet.latestLanguageVersion(),
).unit;
}
Parses the Dart file at path into a CompilationUnit.
CompilationUnit load(String path) {
return parseFile(
path: path,
featureSet: FeatureSet.latestLanguageVersion(),
).unit;
}