addArrayItem method
Add an item at the end of a data array that may be data bound by a Panel as its Panel#itemArray, in a manner that can be undone/redone and that automatically updates any bindings.
This also calls #raiseChangedEvent to notify all listeners about the ChangedEvent.Insert.
If you want to add a new node or part to the diagram, call #addNodeData. @param {Array.<>} arr an Array that is the value of some Panel's Panel#itemArray. @param {} val the new value to be pushed onto the array. @see #insertArrayItem @since 1.1
Implementation
void addArrayItem(
_i7.Array<_i2.dynamic> arr, [
_i2.dynamic val,
]) {
_i4.callMethod(
this,
'addArrayItem',
[
arr,
val,
],
);
}