fileExists static method

bool fileExists(
  1. String key
)

Implementation

static bool fileExists(String key) {
  try {
    final File file = File("${_bigFilesDirectory.path}/$key.dat");
    return file.existsSync();
  } catch (e) {
    return false;
  }
}