onSuccess property

FormBlocListenerCallback<FormBlocSuccess<SuccessResponse, ErrorResponse>, SuccessResponse, ErrorResponse>? onSuccess
final

It is the state when the form is submitted successfully. The previous state must be FormBlocSubmitting.

It has SuccessResponse to indicate more details.

Implementation

final FormBlocListenerCallback<
    form_bloc.FormBlocSuccess<SuccessResponse, ErrorResponse>,
    SuccessResponse,
    ErrorResponse>? onSuccess;