toValue method
Implementation
String toValue() {
switch (this) {
case ValidationMethod.email:
return 'EMAIL';
case ValidationMethod.dns:
return 'DNS';
}
}
String toValue() {
switch (this) {
case ValidationMethod.email:
return 'EMAIL';
case ValidationMethod.dns:
return 'DNS';
}
}