onUserSubmission property

VoidCallback onUserSubmission
final

A VoidCallback to run when the user presses the submit button. This is where you'll check the verification code, and perform success / error handling.

Implementation

final VoidCallback onUserSubmission;