toFileModeTypeEnum method
Implementation
FileModeTypeEnum toFileModeTypeEnum() {
switch (this) {
case 'EXECUTABLE':
return FileModeTypeEnum.executable;
case 'NORMAL':
return FileModeTypeEnum.normal;
case 'SYMLINK':
return FileModeTypeEnum.symlink;
}
throw Exception('$this is not known in enum FileModeTypeEnum');
}