W3cubDocs

/Dart 2

insertAfter method

void insertAfter (E entry)

Insert an element after this element in this element's linked list.

This entry must be in a linked list when this method is called. The entry must not be in a linked list.

Implementation

void insertAfter(E entry) {
  _list._insertBefore(_next, entry, updateFirst: false);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-collection/LinkedListEntry/insertAfter.html