Int32List.fromList constructor

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

Creates a Int32List 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.

Implementation

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