validate method
Implementation
bool validate() {
for (final field in formFields) {
if (!field.validate()) {
return false;
}
}
return true;
}
bool validate() {
for (final field in formFields) {
if (!field.validate()) {
return false;
}
}
return true;
}