toDto method
- RecentChatsCursor? recent,
- FavoriteChatsCursor? favorite
Implementation
DtoChat toDto(RecentChatsCursor? recent, FavoriteChatsCursor? favorite) =>
DtoChat(
toModel(),
ver,
lastItem?.cursor,
lastReadItem?.cursor,
recent,
favorite,
);