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