Classes
Methods
# setAvatar(avatar) → {void}
Set the avatar of a role.
Parameters:
Name | Type | Description |
---|---|---|
avatar |
string
|
The avatar base64 string |
void
# setFromJSON(userRole) → {void}
Set the user role from a JSON object.
Parameters:
Name | Type | Description |
---|---|---|
userRole |
object
|
The JSON object |
void