deleteFriendApplication method Null safety

Future<V2TimCallback> deleteFriendApplication(
  1. {required FriendApplicationTypeEnum type,
  2. required String userID}
)

Delete a friend request

Parameter

application	Friend application information, getFriendApplicationList will return after success

Implementation

Future<V2TimCallback> deleteFriendApplication({
  required FriendApplicationTypeEnum type,
  required String userID,
}) async {
  return ImFlutterPlatform.instance.deleteFriendApplication(
      type: EnumUtils.convertFriendApplicationTypeEnum(type) as int,
      userID: userID);
}