fileExist static method

bool fileExist(
  1. String filePath
)

Checks if string is an existing file.

Implementation

static bool fileExist(String filePath) => File(filePath).existsSync();