fileExists static method

bool fileExists(
  1. String path
)

Returns true if a file exists at path.

Implementation

static bool fileExists(String path) => File(path).existsSync();