listFriends abstract method
Future<FriendsList>
listFriends({
- required Session session,
- FriendshipState? friendshipState,
- int limit = defaultLimit,
- String? cursor,
Listing friends
Nakama allows developers to list the player’s friends based on their friendship state.
Implementation
Future<model.FriendsList> listFriends({
required model.Session session,
FriendshipState? friendshipState,
int limit = defaultLimit,
String? cursor,
});