parseValidaFieldType function
Implementation
ValidaFieldType parseValidaFieldType(String raw) {
for (final v in ValidaFieldType.values) {
final str = v.toString();
if (str == raw || str.split('.')[1] == raw) {
return v;
}
}
throw Error();
}