remove abstract method

bool remove(
  1. E e
)

Remove a single element that is equal to e.

If there are multiple elements identical to e, only the first will be removed. To remove all, use something like:

set.removeWhere((a) => a == e);

Note: when using the MappingOrderedSet implementation, this will only work if the element's priority hasn't changed since last rebalance.

Implementation

bool remove(E e);