Uint64List.fromList(List<int> elements)

Creates a Uint64List with the same length as the elements list and copies over the elements.

Values are truncated to fit in the list when they are copied, the same way storing values truncates them.

Source

external factory Uint64List.fromList(List<int> elements);