Uint8Queue.fromList constructor

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

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

Implementation

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