validate method Null safety

bool validate()

Validates every FormField that is a descendant of this Form, and returns true if there are no errors.

The form will rebuild to report the results.

Implementation

bool validate() {
  _hasInteractedByUser = true;
  _forceRebuild();
  return _validate();
}