onFormSubmitted method

Future<bool> onFormSubmitted(
  1. Emitter<BlocxFormState<F, E>> emit,
  2. BlocxUseCaseResult<Object?> result
)
inherited

Runs after successful form submission.

Return false to prevent BlocxFormStateFormSubmitted from being emitted.

Implementation

Future<bool> onFormSubmitted(
  Emitter<BlocxFormState<F, E>> emit,
  BlocxUseCaseResult<Object?> result,
) async {
  return true;
}