currentDirName property

String get currentDirName

Implementation

static String get currentDirName => Directory.current.path.replaceAll("\\", "/").split("/").last;