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

12 lines
321 B
Dart

import 'package:comunic/lists/abstract_list.dart';
import 'package:comunic/models/friend.dart';
/// List of friends of the user
///
/// @author Pierre HUBERT
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();
}