QueueList<E> constructor
Null safety
- [int? initialCapacity]
Creates an empty queue.
If initialCapacity
is given, prepare the queue for at least that many
elements.
Implementation
QueueList([int? initialCapacity])
: this._init(_computeInitialCapacity(initialCapacity));