deleteUser method
Deletes a user.
Makes a DELETE /user/:userId request.
userId is the ID of the user to delete.
Throws DioError on failure.
Implementation
Future<void> deleteUser(String userId) async {
await client.dio.delete(ApiEndpoints.deleteUser(userId));
}