refuseFriendApplication method Null safety

Future<V2TimValueCallback<V2TimFriendOperationResult>> refuseFriendApplication(
  1. {required FriendApplicationTypeEnum type,
  2. 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);
}