add Member

fun addMember(index: Int, email: String, role: <Error class: unknown class>)

Function to fill the details of a member to add

Parameters

index

: the index of members list where the details must be used

email

: the email of the member

role

: the role of the member