remove method

  1. @action
void remove(
  1. String id
)

The action for the remove.

Implementation

@action
void remove(String id) {
  if (_map.containsKey(id)) {
    _map.remove(id); // Remove from the map
    _order.remove(id); // Remove from the sequential order
    _messageStatusMap.remove(id);
  }
}