code: public void cancel(final int id) {
          final BaseNotificationItem notification = remove(id);
  
          if (notification == null) {
              return;
          }
  
          notification.cancel();
      }
docs: Cancel the notification by notification id.
  
  @param id The download id.