检查文件或目录是否存在
Check if file or directory exists
static bool exists(String path) { return File(path).existsSync() || Directory(path).existsSync(); }