isFileExists static method

bool isFileExists(
  1. File? file
)

Implementation

static bool isFileExists(File? file) {
  if (file == null) return false;
  return file.existsSync();
}