UserService class
Constructors
- UserService(ApiClient client)
- Constructs a UserService using the provided ApiClient.
Properties
Methods
-
deleteUser(
String userId) → Future< void> - Deletes a user.
-
getUser(
String userId) → Future< UserModel> - Gets a specific user by ID.
-
listUsers(
{int? limit, int? skip}) → Future< List< UserModel> > - Lists all users in the project.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateUser(
String userId, UserModel user) → Future< UserModel> - Updates a user's profile.
-
userExists(
String email) → Future< bool> - Checks if a user with the given email exists.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited