directoryPath property

String get directoryPath

Implementation

String get directoryPath =>
    path.substring(0, path.lastIndexOf(Platform.pathSeparator));