FutureCallsAnalyzer constructor
FutureCallsAnalyzer({})
Create a new FutureCallsAnalyzer for directory.
When collection is provided it is reused (e.g. shared with
EndpointsAnalyzer). Otherwise a new one is created internally.
Pass generatedDirPaths so generated output is not scanned for future
calls.
Implementation
FutureCallsAnalyzer({
required Directory directory,
AnalysisContextCollection? collection,
Set<String>? generatedDirPaths,
}) : collection = collection ?? createAnalysisContextCollection(directory),
generatedDirPaths = generatedDirPaths ?? const {},
absoluteIncludedPaths = directory.absolute.path;