saveForm method
Implementation
bool saveForm() {
final save = _formState?.validate() ?? true;
if (save) {
_formState?.save();
} else {
_errorText = fieldErrors();
}
return save;
}
bool saveForm() {
final save = _formState?.validate() ?? true;
if (save) {
_formState?.save();
} else {
_errorText = fieldErrors();
}
return save;
}