removePart method

void removePart(
  1. {required int index}
)

Removes a part from the mutable part collection.

Parameters:

  • index — Zero-based index of the part.

Implementation

void removePart({required int index}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_MutablePartCollection_removePart(
        _handle, index, errorHandler);
  });
}