remove method

void remove(
  1. String title
)

Remove the specified named destination from the document.

Implementation

void remove(String title) {
  int index = -1;
  for (int i = 0; i < _namedCollections.length; i++) {
    if (_namedCollections[i].title == title) {
      index = i;
      break;
    }
  }
  removeAt(index);
}