signInWithPopup method Null safety

Future<UserCredential> signInWithPopup(
  1. AuthProvider provider
)

Authenticates a Firebase client using a popup-based OAuth authentication flow.

If succeeds, returns the signed in user along with the provider's credential.

This method is only available on web based platforms.

Implementation

Future<UserCredential> signInWithPopup(AuthProvider provider) async {
  return UserCredential._(this, await _delegate.signInWithPopup(provider));
}