clearEvents method

Future<void> clearEvents()

Implementation

Future<void> clearEvents() async {
  final eventFile = await _getEventFile();
  if (await eventFile.exists()) {
    await eventFile.delete();
  }
}