size property

int size

The number of parts in the collection.

Implementation

int get size {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_MutablePartCollection_getSize(
      _handle,
      errorHandler,
    );
  });
}