resolveFile method

Future<ResolvedUnitResult> resolveFile(
  1. String path
)
inherited

Resolves a Dart source file at path.

path must be converted for this file system.

Implementation

Future<ResolvedUnitResult> resolveFile(String path) async {
  var analysisContext = _contextFor(path);
  var session = analysisContext.currentSession;
  return await session.getResolvedUnit(path) as ResolvedUnitResult;
}