validate method

bool validate()

Implementation

bool validate()
{
  return formKey.currentState!.validate();
}