Int8Queue.fromList constructor Null safety

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

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

Implementation

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