exists property

bool get exists

Check if the folder exists on disk.

Implementation

bool get exists => Directory(path).existsSync();