Ametista Member

constructor(id: String, profilePic: String, name: String, surname: String, email: String, role: AmetistaUser.Role)

Constructor to init the AmetistaMember class

Parameters

id

The identifier of the user

name

The name of the user

surname

The surname of the user

email

The email of the user

profilePic

The profile picture of the user

role

The role of the user


constructor(jMember: JSONObject)

Constructor to init the AmetistaMember class

Parameters

jMember

: user details formatted as JSON