fileExists static method

bool fileExists({
  1. String rootFolder = '.',
})

Implementation

static bool fileExists({
  final String rootFolder = '.',
}) {
  final file = File(join(rootFolder, fileName));
  return file.existsSync();
}