push method

void push(
  1. T val
)

Adds a given value to the end of the List.

Be careful not to call this method while iterating over the collection. @param {*} val

Implementation

void push(T val) {
  _i4.callMethod(
    this,
    'push',
    [val],
  );
}