clear method

void clear()

Clears the Map, removing all key-value associations. 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',
    [],
  );
}