This commit is contained in:
hrxiang
2021-07-20 20:11:10 +08:00
parent f76b7ae605
commit e8cb9d5662
5 changed files with 229 additions and 80 deletions

View File

@@ -9,9 +9,9 @@ class FriendshipManager {
FriendshipManager(this._channel);
void setFriendshipListener(FriendshipListener listener) {
Future setFriendshipListener(FriendshipListener listener) {
this.friendshipListener = listener;
_channel.invokeMethod('setFriendListener', _buildParam({}));
return _channel.invokeMethod('setFriendListener', _buildParam({}));
}
Future<List<UserInfo>> getFriendsInfo({required List<String> uidList}) {