checkFriend method Null safety
- {required List<
String> userIDList, - required FriendTypeEnum checkType}
Check your relationship with a specified user
Parameter
checkType Check Type
FriendType.V2TIM_FRIEND_TYPE_SINGLE: one-way friend
FriendType.V2TIM_FRIEND_TYPE_BOTH: two-way friend
Implementation
Future<V2TimValueCallback<List<V2TimFriendCheckResult>>> checkFriend({
required List<String> userIDList,
required FriendTypeEnum checkType,
}) async {
return ImFlutterPlatform.instance.checkFriend(
userIDList: userIDList,
checkType: EnumUtils.convertFriendTypeEnum(checkType));
}