getOccurrencesRequest method

  1. @override
Future<OccurrencesRequest> getOccurrencesRequest(
  1. String path
)
override

Return the occurrences request that should be passes to the contributors returned from getOccurrencesContributors.

Throw a RequestFailure if the request could not be created.

Implementation

@override
Future<OccurrencesRequest> getOccurrencesRequest(String path) async {
  var result = await getResolvedUnitResult(path);
  return DartOccurrencesRequestImpl(resourceProvider, result);
}