I have been trying to implement Google login screen using Flutter.
final AuthResult authResult = await _auth.signInWithCredential(credential);
The editor, for the line above, says:
Undefined class 'AuthResult'
How can I fix it? Any help would be very appreciated.
public interface AuthResult implements Parcelable. Result object obtained from operations that can affect the authentication state. Contains a method that returns the currently signed-in user after the operation has completed.
BREAKING: The FirebaseUser class has been renamed to User .
They renamed the class AuthResult
to UserCredential
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With