Float32List.fromList factory constructor

Float32List.fromList(List<double> elements)

Creates a Float32List 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 Float32List.fromList(List<double> elements);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-typed_data/Float32List/Float32List.fromList.html