SimplerLoginPlatformInterface class abstract

Inheritance
  • Object
  • PlatformInterface
  • SimplerLoginPlatformInterface
Implementers

Properties

auth → FirebaseAuth
FirebaseAuth
no setter
errorStream Stream<String?>
Stream Error
no setter
forceResendingToken int?
getter/setter pair
googleSignIn → GoogleSignIn
final
hashCode int
The hash code for this object.
no setterinherited
otpSent Stream<bool>
Stream whether OTP is sent or not
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user → User?
Get Current User
no setter
userStream Stream<User?>
Stream userchanges
no setter
verificationId String?
getter/setter pair

Methods

createUserWithEmailAndPassword({required String email, required String password, bool updateProfile = false, String? displayName, String? photoURL, dynamic onError(String)?}) Future<UserCredential?>
CreateAccountWithEmailAndPassword method to login to existing account
dispose() → dynamic
Dispose
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signInWithEmailAndPassword({required String email, required String password, bool updateProfile = false, String? displayName, String? photoURL, dynamic onError(String)?}) Future<UserCredential?>
signInWithEmailAndPassword method to login to existing account
signInWithGoogle() Future<UserCredential?>
signOut() Future<void>
signOut method
toString() String
A string representation of this object.
inherited
verifyOtp({required String smsCode, String verificationId = '', bool updateProfile = false, String? displayName, String? photoURL, bool linkWithAnonymousAccount = false}) Future<UserCredential?>
A FirebaseAuthException maybe thrown with the following error code:
verifyPhoneNumber({required String phoneNumber, TextEditingController? otpController, bool signInOnAutoRetrival = true, void codeSent(String, int?)?, void verificationFailed(FirebaseAuthException)?, void verificationCompleted(PhoneAuthCredential)?, void codeAutoRetrievalTimeout(String)?, RecaptchaVerifier? verifier, int? forceResendingToken, Duration? timeout}) Future<void>
Starts a sign-in flow for a phone number.

Operators

operator ==(Object other) bool
The equality operator.
inherited