add method

Panel add([
  1. Iterable? elements
])

Adds a number of GraphObjects to the end of this Panel's list of elements, visually in front of all of the other elements.

If the element to be added is already in this Panel's list of elements, the object is moved to the end of the list. You cannot add a GraphObject to a Panel if that GraphObject is already in a different Panel. @return {Panel} this Panel @param {...GraphObject} elements Any number of GraphObjects.

Implementation

_i3.Panel add([_i2.Iterable<_i2.dynamic>? elements]) => _i4.callMethod(
      this,
      'add',
      [...?elements],
    );