Int32Queue.fromList constructor

Int32Queue.fromList(
  1. List<int> elements
)

Creates a Int32Queue with the same length and contents as elements.

Implementation

factory Int32Queue.fromList(List<int> elements) =>
    Int32Queue(elements.length)..addAll(elements);