clearLogs method
Clears the V2Ray logs from the system logcat. Returns a Future that completes with a bool indicating success. On Android, this clears the logcat buffer. On non-Android platforms, returns true.
Implementation
Future<bool> clearLogs() async {
if (Platform.isAndroid) {
return FlutterV2rayPlatform.instance.clearLogs();
}
return true;
}