toValue method
Implementation
String toValue() {
switch (this) {
case WorkspaceDirectoryState.registering:
return 'REGISTERING';
case WorkspaceDirectoryState.registered:
return 'REGISTERED';
case WorkspaceDirectoryState.deregistering:
return 'DEREGISTERING';
case WorkspaceDirectoryState.deregistered:
return 'DEREGISTERED';
case WorkspaceDirectoryState.error:
return 'ERROR';
}
}