toValue method
Implementation
String toValue() {
switch (this) {
case Validation.enable:
return 'ENABLE';
case Validation.disable:
return 'DISABLE';
}
}
String toValue() {
switch (this) {
case Validation.enable:
return 'ENABLE';
case Validation.disable:
return 'DISABLE';
}
}