1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-30 13:43:29 +00:00
Files
comunicmobile/lib/lists/friends_list.dart
2022-03-10 20:28:07 +01:00

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();
}