analyze method
Implementation
Future<Iterable<AnalyzeResult>> analyze({
required Directory dir,
}) async {
final result = await _runner.run(
['analyze', '--format=machine', dir.path],
ignoreError: true,
);
return result.split('\n').map(_parser.parse).whereType<AnalyzeResult>();
}