UserService class

Constructors

UserService(ApiClient client)
Constructs a UserService using the provided ApiClient.

Properties

client ApiClient
API client used to perform HTTP operations.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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