removeAt method
Remove the specified named destination from the document.
Implementation
void removeAt(int index) {
if (index >= _namedCollections.length) {
throw RangeError(
'The index value should not be greater than or equal to the count.');
}
_namedCollections.removeAt(index);
}