W3cubDocs

/Dart 2

prepend method

void prepend (E e)

Prepends the given e as entry just before this entry.

Implementation

void prepend(E e) {
  new DoubleLinkedQueueEntry<E>(e)._link(_previousLink, this);
}

© 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/DoubleLinkedQueueEntry/prepend.html