topic property

String topic

The topic of the room if set by a participant.

Implementation

String get topic {
  final t = getState(EventTypes.RoomTopic)?.content['topic'];
  return t is String ? t : '';
}