1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00
comunicmobile/lib/lists/friends_list.dart

12 lines
321 B
Dart
Raw Normal View History

2022-03-10 19:28:07 +00:00
import 'package:comunic/lists/abstract_list.dart';
import 'package:comunic/models/friend.dart';
/// List of friends of the user
///
/// @author Pierre HUBERT
2022-03-10 19:28:07 +00:00
class FriendsList extends AbstractList<Friend> {
/// Get the ID of all the friends of the current user
List<int> get usersId => map((f) => f.id).toList();
}