removeAll method
Remove all segments from the part.
After calling this method the part is empty.
Implementation
void removeAll() {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_MutablePart_removeAll(_handle, errorHandler);
});
}