Метод remove
bool remove(Удалить entry из связанного списка.
Возвращает false и ничего не делает, если entry не находится в этом связанном списке.
Это эквивалентно вызову entry.unlink() , если элемент присутствует в этом списке.
Исходный код
bool remove(E entry) {
if (entry._list != this) return false;
_unlink(entry); // Unlink will decrement length.
return true;
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-collection/LinkedList/remove.html