deleteLogFile method
删除指定路径的日志文件。
Implementation
@override
/// 删除指定路径的日志文件。
Future<bool> deleteLogFile(String path) async {
try {
final ok = await methodChannel.invokeMethod<bool>('deleteLogFile', {
'path': path,
});
return ok ?? false;
} catch (_) {
return false;
}
}