validate method

bool validate()

Implementation

bool validate() => _formKey.currentState?.validate() ?? false;