toValue method
Implementation
String toValue() {
switch (this) {
case ActiveDirectoryStatus.accessDenied:
return 'ACCESS_DENIED';
case ActiveDirectoryStatus.detached:
return 'DETACHED';
case ActiveDirectoryStatus.joined:
return 'JOINED';
case ActiveDirectoryStatus.joining:
return 'JOINING';
case ActiveDirectoryStatus.networkError:
return 'NETWORK_ERROR';
case ActiveDirectoryStatus.timeout:
return 'TIMEOUT';
case ActiveDirectoryStatus.unknownError:
return 'UNKNOWN_ERROR';
}
}