void remove(String id)

Removes an Element from the DOM by the id

Source

void remove(String id)
{
    var el = get(id);
    if (el != null) el.remove();
}