onLoginSuccess property

OnLoginSuccess? onLoginSuccess
final

This callback is triggered when the phone number is verified and the user is signed in successfully. The function provides UserCredential which contains essential user information.

The boolean provided is whether the OTP was auto verified or verified manually by calling verifyOtp.

True if auto verified and false is verified manually.

Implementation

final OnLoginSuccess? onLoginSuccess;