mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			437 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			437 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'package:comunic/lists/abstract_list.dart';
 | 
						|
import 'package:comunic/models/unread_conversation.dart';
 | 
						|
 | 
						|
/// List of unread conversations
 | 
						|
///
 | 
						|
/// @author Pierre Hubert
 | 
						|
 | 
						|
class UnreadConversationsList extends AbstractList<UnreadConversation> {
 | 
						|
  /// Get the ID of the users included in this list
 | 
						|
  Set<int> get usersID {
 | 
						|
    final set = Set<int>();
 | 
						|
    forEach((element) => set.addAll(element.message.usersID));
 | 
						|
    return set;
 | 
						|
  }
 | 
						|
}
 |