resolveUnitOrLibraryAt method
Implementation
Future<AnalysisResult> resolveUnitOrLibraryAt(Uri uri) async {
if (FileSystemEntity.isFileSync(
uri.toFilePath(windows: Platform.isWindows))) {
return await resolveUnitAt(uri);
} else {
return await resolveLibraryAt(uri);
}
}