activeConversationsList property

RxList<GetAllConversationsData> get activeConversationsList

Implementation

RxList<GetAllConversationsData> get activeConversationsList {
  final activeList = _conversationsService.allConversationsList
      // .where((convo) => (convo.status == 'opened'))
      .toList()
      .obs;
  activeList.sort((a, b) => b.updatedAt!.compareTo(a.updatedAt!));
  return activeList;
}