EndpointsAnalyzer constructor

EndpointsAnalyzer(
  1. 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,
      );