exist method

bool exist(
  1. String filename
)

Check if a file exists.

Implementation

bool exist(String filename) {
  final f = File(join(_root.path, filename));
  return f.existsSync();
}