SubscriptionManager class

An object that manages the subscriptions for analysis results.

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

Constructors

SubscriptionManager()
Initialize a newly created subscription manager to have no subscriptions.

Properties

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

Methods

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.
inherited
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.
inherited

Operators

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