FirebaseAuthService<T extends BaseModel> class

Implemented types
Annotations
  • @riverpod

Constructors

FirebaseAuthService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() FirebaseAuthService<BaseModel>
checkUserExistence(String? uid) Future<bool>
override
deleteUser(String uid) Future<void>
getCurrentUser() → User?
override
getMyUserData() Future<Map<String, dynamic>?>
getUserEmailByUID(String uid) Future<String>
getUserNameByUID(String uid) Future<String>
isAdmin() Future<bool>
isFull() Future<bool>
isHigherThanOrEqualToFull() Future<bool>
isHigherThanOrEqualToManager() Future<bool>
isManager() Future<bool>
isSocialLoginIdRegistered(dynamic socialProvider) Future<bool?>
logInOrRegister(User? user) Future<AuthStatus>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerUser(User user) Future<void>
setUserMembershipTo(String membership) Future<void>
membership: 'Admin', 'Manager', 'Full', 'Associate', 'Guest'
signInAnonymously() Future
override
signInOrRegister(User? user) Future<void>
signInWithApple() Future<AuthStatus>
signInWithEmail() Future<AuthStatus>
signInWithGoogle() Future<AuthStatus>
signInWithKakao() Future<AuthStatus>
signOut() Future<void>
override
toString() String
A string representation of this object.
inherited
updateUser(User user) Future<void>
userChanges() Stream<User?>
override

Operators

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