toMemberMediumAccessibleByGroup function
Implementation
MemberMediumAccessibleByGroup toMemberMediumAccessibleByGroup(int? index) {
switch (index) {
case 0:
return MemberMediumAccessibleByGroup.public;
case 1:
return MemberMediumAccessibleByGroup.followers;
case 2:
return MemberMediumAccessibleByGroup.me;
case 3:
return MemberMediumAccessibleByGroup.specificMembers;
}
return MemberMediumAccessibleByGroup.unknown;
}