setSubscriptions method

Future setSubscriptions(
  1. List<String> subscriptions
)

Subscribe for completion services. 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 setSubscriptions(List<String> subscriptions) =>
    _call('completion.setSubscriptions', {'subscriptions': subscriptions});