Int64Queue.fromList constructor Null safety

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

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

Implementation

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