resolve method

Future<SomeResolvedUnitResult> resolve(
  1. File file
)

Analysis a file and return the result.

The analysis may fail, and the returned value may not be a prepared abstract syntax tree, so there might be more encapsulations on this method.

Implementation

Future<SomeResolvedUnitResult> resolve(File file) => _contextCollection
    .contextFor(file.path)
    .currentSession
    .getResolvedUnit(file.path);