ArrayPropertyId.withCapacity constructor
ArrayPropertyId.withCapacity(
- int initialCapacity
Create a new array with the specified initial capacity
Implementation
factory ArrayPropertyId.withCapacity(int initialCapacity) {
final ptr = SpineBindings.bindings.spine_array_property_id_create_with_capacity(initialCapacity);
return ArrayPropertyId.fromPointer(ptr.cast(), ownsMemory: true);
}