void removeText(String name)

Source

void removeText(String name) {
  _removeResource("Text", name);
}