onError property

void Function(AuthError error)? onError
final

Called when sign-up fails.

Provides the AuthError containing error details.

Implementation

final void Function(AuthError error)? onError;