rootDir property

String rootDir

Implementation

String get rootDir =>
    (path == null) ? Directory.current.path : p.dirname(path!);