Uint32Queue.fromList constructor Null safety

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

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

Implementation

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