lastEntry method
The entry object of the last element in the queue.
Each element of the queue has an associated DoubleLinkedQueueEntry.
Returns the entry object corresponding to the last element of the queue, or null
if the queue is empty.
The entry objects can also be accessed using firstEntry, and they can be iterated using DoubleLinkedQueueEntry.nextEntry and DoubleLinkedQueueEntry.previousEntry.
Implementation
DoubleLinkedQueueEntry<E>? lastEntry() { return _sentinel.previousEntry(); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-collection/DoubleLinkedQueue/lastEntry.html