toValue method
Implementation
String toValue() {
switch (this) {
case WorkspaceImageState.available:
return 'AVAILABLE';
case WorkspaceImageState.pending:
return 'PENDING';
case WorkspaceImageState.error:
return 'ERROR';
}
}