resetStatistics method

Future<void> resetStatistics()

Resets last received statistics. It is recommended to call it before starting a new execution.

Implementation

Future<void> resetStatistics() async {
  try {
    await _methodChannel.invokeMethod('resetStatistics');
  } on PlatformException catch (e) {
    logger.e('Plugin resetStatistics error: ${e.message}');
  }
}