Untitled
unknown
dart
4 years ago
615 B
3
Indexable
try { _userCredential = await _firebaseAuth .createUserWithEmailAndPassword( email: registerData['phonemail'], password: registerData['password']) .then((value) => _firebaseAuth.currentUser! .linkWithCredential(phoneAuthCredential)); if (_userCredential.user == null) { _status = AuthResultStatus.undefined; } else { _status = AuthResultStatus.successful; } } on FirebaseAuthException catch (e) { print('Failed with error code: ${e.code}'); _status = AuthExceptionHandler.handleException(e); }
Editor is loading...