- Queue
Queue - FIFO
- Ordered
- Efficient add/remove from head/tail
- No index access
examples/dart-intro/queue.dart
import 'dart:collection'; main() { Queue dentist = new Queue(); dentist.addLast("Foo"); dentist.addLast("Bar"); print(dentist.removeFirst()); // Foo print(dentist.removeFirst()); // Bar }