1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 06:19:22 +00:00
comunicmobile/lib/lists/comments_list.dart

14 lines
360 B
Dart
Raw Normal View History

2022-03-10 19:28:07 +00:00
import 'package:comunic/lists/abstract_list.dart';
2019-05-16 12:52:22 +00:00
import 'package:comunic/models/comment.dart';
/// Comments list
///
/// Contains the list of comments for a post
///
/// @author Pierre HUBERT
2022-03-10 19:28:07 +00:00
class CommentsList extends AbstractList<Comment> {
2019-05-16 12:52:22 +00:00
/// Get the list of users in this comments, as a set
Set<int> get usersID => map((f) => f.userID).toSet();
}