clearAndroidRawLogs method

Future<void> clearAndroidRawLogs()

Clears raw logs from Android's logcat.

Clears the raw log messages (only applicable on Android).

Implementation

Future<void> clearAndroidRawLogs() async {
  if (Platform.isAndroid) {
    await Process.run('logcat', ['-c']);
  }
}