clear method
void
clear()
Clears the List. This sets the #count to zero.
Be careful not to call this method while iterating over the collection.
Implementation
void clear() {
_i4.callMethod(
this,
'clear',
[],
);
}