fileExists static method

bool fileExists(
  1. String path
)

Kiểm tra file có tồn tại hay không

Implementation

static bool fileExists(String path) {
  return File(path).existsSync();
}