typeDescription property
Get the type description of the file or directory
Implementation
string get typeDescription {
if (this is File) {
return "File";
}
if (this is Directory) {
return "Directory";
}
return "Unknown";
}
Get the type description of the file or directory
string get typeDescription {
if (this is File) {
return "File";
}
if (this is Directory) {
return "Directory";
}
return "Unknown";
}