length property
The number of elements in this array. Must be implemented by subclasses to call the appropriate spine_array_*_get_size
Implementation
@override
int get length {
return SpineBindings.bindings.spine_array_property_id_size(nativePtr.cast());
}
Sets the length of the list. For read-only arrays, this will throw an UnsupportedError. Must be implemented by subclasses that support modification.
Implementation
@override
set length(int newLength) {
SpineBindings.bindings.spine_array_property_id_set_size(nativePtr.cast(), newLength, 0);
}