setGeneralSubscriptions method

Future setGeneralSubscriptions(
  1. List<String> subscriptions
)

Subscribe for general services (that is, services that are not specific to individual files). All previous subscriptions are replaced by the given set of services.

It is an error if any of the elements in the list are not valid services. If there is an error, then the current subscriptions will remain unchanged.

Implementation

Future setGeneralSubscriptions(List<String> subscriptions) => _call(
    'analysis.setGeneralSubscriptions', {'subscriptions': subscriptions});