valid method
Implementation
@override
void valid() {
if (required && isEmpty) {
throw 'El dato "$label" es requerido';
}
var n = 1;
for (var item in this) {
try {
item.valid();
} catch (e) {
throw '$e en elemento $n de "$label"';
}
n++;
}
}