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