Inserts element
at position index
to the list at path
.
Source
void insert(String path, int index, element) {
jsElement.callMethod('splice', [path, index, 0, convertToJs(element)]);
}
Inserts element
at position index
to the list at path
.
void insert(String path, int index, element) {
jsElement.callMethod('splice', [path, index, 0, convertToJs(element)]);
}