calculateGallery method

Paginated<ChatItemId, Rx<ChatItem>> calculateGallery(
  1. ChatItemId? id
)

Returns a Paginated of ChatItems containing a collection of all the media files of this chat.

Implementation

Paginated<ChatItemId, Rx<ChatItem>> calculateGallery(ChatItemId? id) {
  return chat.value!.attachments(item: id);
}