Int16Queue.fromList constructor

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

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

Implementation

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