roomAliasFromRoomName function

String roomAliasFromRoomName(
  1. String roomName
)

Implementation

String roomAliasFromRoomName(String roomName) {
  return roomName.trim().replaceAll('-', '').toLowerCase();
}