doesFileExist function

bool doesFileExist(
  1. String filePath
)

Implementation

bool doesFileExist(String filePath) {
  File file = File(filePath);
  return file.existsSync();
}