deleteUnsentReports method

  1. @override
Future<void> deleteUnsentReports()
override

If automatic data collection is disabled, this method queues up all the reports on a device for deletion. Otherwise, this method is a no-op.

Implementation

@override
Future<void> deleteUnsentReports() async {
  try {
    await channel.invokeMethod<void>('Crashlytics#deleteUnsentReports');
  } on PlatformException catch (e, s) {
    convertPlatformException(e, s);
  }
}