EndpointsAnalyzer constructor
EndpointsAnalyzer(
- Directory directory
Create a new EndpointsAnalyzer, containing a
AnalysisContextCollection
that analyzes all dart files in the
provided directory
.
Implementation
EndpointsAnalyzer(Directory directory)
: collection = AnalysisContextCollection(
includedPaths: [directory.absolute.path],
resourceProvider: PhysicalResourceProvider.INSTANCE,
),
absoluteIncludedPaths = directory.absolute.path;