canonicalAlias property

String get canonicalAlias

The address in the format: #roomname:node.org.

Implementation

String get canonicalAlias {
  final alias = getState(EventTypes.RoomCanonicalAlias)?.content['alias'];
  return (alias is String) ? alias : '';
}