isSingleUser property
bool
get
isSingleUser
Whether the room is only with one other user.
Implementation
bool get isSingleUser => switch (this) {
RoomType.oneToOne || RoomType.changelog || RoomType.oneToOneFormer || RoomType.noteToSelf => true,
_ => false,
};