exists method

  1. @override
bool exists(
  1. String path
)
override

Checks whether a file or directory exists at path.

Implementation

@override
bool exists(String path) {
  return FileSystemEntity.typeSync(path) != FileSystemEntityType.notFound;
}