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