Array<T extends NativeType, L extends List<int> >.fromList constructor
- L list,
- L getView(
- Pointer<
T> , - int
- Pointer<
Implementation
factory Array.fromList(L list, L Function(Pointer<T>, int) getView) {
final arr = Array(list.length, getView);
arr.view.setAll(0, list);
return arr;
}