mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
12 lines
321 B
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();
|
|
}
|