verifyPhoneNumber abstract method
Verify phone number with the provided verification code
Confirms the phone number using the SMS verification code.
Example:
final result = await authRepo.verifyPhoneNumber(
phoneNumber: '+1234567890',
verificationCode: '123456',
);
Implementation
Future<EmailVerificationResult> verifyPhoneNumber({
required String phoneNumber,
required String verificationCode,
});