clearCachedData method

Future<void> clearCachedData()

Delete all collected data in the local cache, including the cached data that fails to be sent.

note Calling this method will reset the AAID. In Analytics Kit 6.0.0 and later versions, alling this method will also reset the user ID.

Implementation

Future<void> clearCachedData() async {
  await _channel.invokeMethod('clearCachedData', {});
}