SubscriptionManager class

An object that manages the subscriptions for analysis results.

Clients may not extend, implement or mix-in this class.


Initialize a newly created subscription manager to have no subscriptions.


hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


hasSubscriptionForFile(String filePath, AnalysisService service) bool
Return true if the file with the given filePath has a subscription for the given service.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
servicesForFile(String filePath) List<AnalysisService>
Return a list of the services for which the file with the given filePath has been subscribed.
setSubscriptions(Map<AnalysisService, List<String>> subscriptions) Map<String, List<AnalysisService>>
Set the current set of subscriptions to those described by the given map of subscriptions. Return a map representing the subset of the subscriptions that are new. These are the subscriptions for which a notification should be sent. The returned map is keyed by the path of each file for which notifications should be send and has values representing the list of services that were added for that file.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.