hasSubscriptionForFile method
Return true
if the file with the given filePath
has a subscription for
the given service
.
Implementation
bool hasSubscriptionForFile(String filePath, AnalysisService service) {
var subscriptions = _subscriptions;
if (subscriptions == null) {
return false;
}
var files = subscriptions[service];
return files != null && files.contains(filePath);
}