contextForPath method
Implementation
AnalysisContext? contextForPath(String path) {
return firstWhereOrNull((context) => context.contextRoot
.analyzedFiles()
.any((filePath) => filePath == path));
}
AnalysisContext? contextForPath(String path) {
return firstWhereOrNull((context) => context.contextRoot
.analyzedFiles()
.any((filePath) => filePath == path));
}