Deque<T>.from constructor
- Iterable<
T> elements
Creates a deque containing the elements of the given iterable.
Implementation
Deque.from(Iterable<T> elements) : _queue = ListQueue<T>.from(elements);
Creates a deque containing the elements of the given iterable.
Deque.from(Iterable<T> elements) : _queue = ListQueue<T>.from(elements);