submit method

Future<void> submit()

Initiates the form submission process.

This method calls the onSubmit method and updates the form state accordingly.

Implementation

Future<void> submit() => _onSubmit();