fileExists function

bool fileExists(
  1. String path
)

Returns true if file exists or false if not

Implementation

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