UserService class
- Inheritance
-
- Object
- BaseService
- UserService
Constructors
Properties
- fireStore ↔ FirebaseFirestore
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ref
↔ CollectionReference<
Object?> ? -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addDocument(
Map data) → Future< DocumentReference< Object?> > -
inherited
-
addDocumentWithCustomId(
String id, Map< String, dynamic> data) → Future<DocumentReference< Object?> > -
inherited
-
deleteUser(
) → Future< void> -
getList(
) → Future< Iterable> -
inherited
-
getUser(
{String? key, String? email}) → Future< UserData> -
getUserNull(
{String? key, String? email}) → Future< UserData?> -
isReceiverInContacts(
{required String senderUserId, required String receiverUserId}) → Future< bool> -
isUserExist(
String? email) → Future< bool> -
inherited
-
isUserExistWithUid(
String? uid) → Future< bool> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeDocument(
String id) → Future< void> -
inherited
-
saveToContacts(
{required String senderId, required String receiverId}) → Future< void> -
singleUser(
String? id, {String? searchText}) → Stream< UserData> -
toString(
) → String -
A string representation of this object.
inherited
-
updateDocument(
Map< String, dynamic> data, String? id) → Future<void> -
inherited
-
userByEmail(
String? email) → Future< UserData> -
userByMobileNumber(
String? phone) → Future< UserData> -
users(
{String? searchText}) → Stream< List< UserData> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited