toRoomMembershipRole method
Implementation
RoomMembershipRole toRoomMembershipRole() {
switch (this) {
case 'Administrator':
return RoomMembershipRole.administrator;
case 'Member':
return RoomMembershipRole.member;
}
throw Exception('$this is not known in enum RoomMembershipRole');
}