void removeElement(String tag, String value) { elements.removeWhere((element) => element.tag == tag && element.value==value); }