searchFriends method Null safety

Future<V2TimValueCallback<List<V2TimFriendInfoResult>>> searchFriends(
  1. {required V2TimFriendSearchParam searchParam}
)

search for friends

The interface returns the locally stored user information, which can be judged as a friend according to the relation in V2TIMFriendInfoResult.

Implementation

Future<V2TimValueCallback<List<V2TimFriendInfoResult>>> searchFriends({
  required V2TimFriendSearchParam searchParam,
}) async {
  return ImFlutterPlatform.instance.searchFriends(searchParam: searchParam);
}