toValue method
Implementation
String toValue() {
switch (this) {
case DirectoryState.enabled:
return 'ENABLED';
case DirectoryState.disabled:
return 'DISABLED';
case DirectoryState.deleted:
return 'DELETED';
}
}
String toValue() {
switch (this) {
case DirectoryState.enabled:
return 'ENABLED';
case DirectoryState.disabled:
return 'DISABLED';
case DirectoryState.deleted:
return 'DELETED';
}
}