removeAll method

void removeAll()

Remove all parts from the mutable part collection.

After calling this method the mutable part collection is empty.

Implementation

void removeAll() {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_MutablePartCollection_removeAll(
      _handle,
      errorHandler,
    );
  });
}