title property

string get title

Get the title of the file or directory.

The title is the name of the file or directory without the extension. If the name is camelCase or snake_case, it will be converted into Title Case

Implementation

string get title => nameWithoutExtension.friendlyTitle();