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