Конструктор фабрики Queue.from
Queue.from(Создаёт очередь, содержащую все elements.
Порядок элементов в очереди такой же, как если бы элементы были добавлены с помощью addLast в порядке, заданном elements.iterator.
Исходный код
factory Queue.from(Iterable elements) = ListQueue<E>.from;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-collection/Queue/Queue.from.html