toValue method
Implementation
String toValue() {
switch (this) {
case RoomMembershipRole.administrator:
return 'Administrator';
case RoomMembershipRole.member:
return 'Member';
}
}
String toValue() {
switch (this) {
case RoomMembershipRole.administrator:
return 'Administrator';
case RoomMembershipRole.member:
return 'Member';
}
}