toValue method
Implementation
String toValue() {
switch (this) {
case ObjectTypeEnum.file:
return 'FILE';
case ObjectTypeEnum.directory:
return 'DIRECTORY';
case ObjectTypeEnum.gitLink:
return 'GIT_LINK';
case ObjectTypeEnum.symbolicLink:
return 'SYMBOLIC_LINK';
}
}