refuseFriendApplication method Null safety
- {required FriendApplicationTypeEnum type,
- required String userID}
Reject a friend request
Parameter
application Friend application information, getFriendApplicationList will return after success
Implementation
Future<V2TimValueCallback<V2TimFriendOperationResult>>
refuseFriendApplication({
required FriendApplicationTypeEnum type,
required String userID,
}) async {
return ImFlutterPlatform.instance.refuseFriendApplication(
type: EnumUtils.convertFriendApplicationTypeEnum(type) as int,
userID: userID);
}