add method

void add(
  1. PublicSearchResultItem element
)

The inserted element is moved into the list and must not be used again Although you can use the "elementAt" method to get a reference to the added element

Implementation

void add(PublicSearchResultItem element) {
  _api._ffiListPublicSearchResultItemAdd(
      _box.borrow(), element._box.borrow());
  element._box.move();
}