pinnedEventIds property
The pinned events for this room. If there are none this returns an empty list.
Implementation
List<String> get pinnedEventIds {
final pinned = getState(EventTypes.RoomPinnedEvents)?.content['pinned'];
return pinned is Iterable ? pinned.map((e) => e.toString()).toList() : [];
}