clearEvents method

Future<void> clearEvents(
  1. ServiceName service
)

Clears all stored data for the service.

Implementation

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