name property

String get name

The name of the room if set by a participant.

Implementation

String get name {
  final n = getState(EventTypes.RoomName)?.content['name'];
  return (n is String) ? n : '';
}