remove method

void remove(
  1. ContextItem item
)

Remove an item.

Implementation

void remove(ContextItem item) {
  _items.remove(item);
  _usedTokens -= item.estimatedTokens;
}