update

Updates a User from the repository.

Parameters

id
The id of the User to be updated.
isAdmin
The new isAdmin of the User.
name
The new name of the User.
password
The optional new password of the User.
open suspend override fun update(id: String, name: String, isAdmin: Boolean, password: String?)