remove method

void remove(
  1. String memoryId
)

Removes a specific item from working memory.

Implementation

void remove(String memoryId) {
  _queue.removeWhere((s) => s.memory.id == memoryId);
}