validateWithException method
Implementation
void validateWithException(String value) {
final err = validate(value);
if(err != null) {
throw AFException("Invalid value $value for $name: $err");
}
}
void validateWithException(String value) {
final err = validate(value);
if(err != null) {
throw AFException("Invalid value $value for $name: $err");
}
}