remove method
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);
}
}