clearEventsHistory static method

Future<void> clearEventsHistory()

Instructs to delete any event associated with the all installations present on the device, locally and on WonderPush servers. See https://docs.wonderpush.com/docs/gdpr-compliance#giving-users-control-over-their-data

Implementation

static Future<void> clearEventsHistory() async {
  await _methodChannel.invokeMethod('clearEventsHistory');
}