isFileExists static method

bool isFileExists(
  1. String path
)

Checks if a file exists at the specified path.

  • path: The file path to check.

Returns: true if the file exists, otherwise false.

Implementation

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