Uint8Queue.fromList constructor Null safety
Creates a Uint8Queue with the same length and contents as elements
.
Implementation
factory Uint8Queue.fromList(List<int> elements) =>
Uint8Queue(elements.length)..addAll(elements);
Creates a Uint8Queue with the same length and contents as elements
.
factory Uint8Queue.fromList(List<int> elements) =>
Uint8Queue(elements.length)..addAll(elements);