JsArray<E>.from constructor
Creates a new JavaScript array and initializes it to the contents of
other
.
Implementation
JsArray.from(Iterable<E> other)
: super._fromJs([]..addAll(other.map(_convertToJS)));
Creates a new JavaScript array and initializes it to the contents of
other
.
JsArray.from(Iterable<E> other)
: super._fromJs([]..addAll(other.map(_convertToJS)));