startObserving method

Future<void> startObserving(
  1. ServiceName service
)

Enables event updates for the service.

Implementation

Future<void> startObserving(ServiceName service) async {
  await _client.send('BackgroundService.startObserving', {
    'service': service,
  });
}