fileExists method

bool fileExists(
  1. String path
)

Check if a file exists at the given path

Implementation

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