isFileExists static method

bool isFileExists(
  1. String path
)

Implementation

static bool isFileExists(String path) {
  final File file = File(path);
  return file.existsSync();
}