List.from factory constructor
List.from(Creates a list containing all elements
.
The Iterator of elements
provides the order of the elements.
This constructor returns a growable list when growable
is true; otherwise, it returns a fixed-length list.
Source
external factory List.from(Iterable elements, {bool growable: true});
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/List/List.from.html