resetStatistics method
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) {
print("Plugin resetStatistics error: ${e.message}");
}
}