remove method

void remove(
  1. T value
)
Remove an item from the list Item to remove

Implementation

void remove(T value) {
  if (!_list.contains(value)) return;

  if (_removableList) if (value != null)
    (value as IDestructible).off("destroy", _itemDestroyed);

  //lock (syncRoot)
  _list.remove(value);

  emitArgs("removed", [_state, value]);
}