signInWithRedirect method Null safety

Future<void> signInWithRedirect(
  1. AuthProvider provider
)

Authenticates a Firebase client using a full-page redirect flow.

To handle the results and errors for this operation, refer to getRedirectResult.

Implementation

Future<void> signInWithRedirect(AuthProvider provider) {
  try {
    return _delegate.signInWithRedirect(provider);
  } on FirebaseAuthMultiFactorExceptionPlatform catch (e) {
    throw FirebaseAuthMultiFactorException._(this, e);
  } catch (e) {
    rethrow;
  }
}