parent property Null safety

Directory parent

The directory containing this.

Implementation

Directory get parent => new Directory(parentOf(path));