toValue method

String toValue()

Implementation

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