Inserts elements
at position index
to the list at path
.
Source
void insertAll(String path, int index, Iterable elements) {
jsElement.callMethod(
'splice',
[path, index, 0]
..addAll(elements.map((element) => convertToJs(element))));
}