dispose method

void dispose()

Dispose of the native array Throws an error if the array was not created by this class (i.e., it was obtained from C)

Implementation

void dispose() {
  if (!_ownsMemory) {
    throw StateError(
        'Cannot dispose ArrayPropertyId that was created from C. Only arrays created via factory constructors can be disposed.');
  }
  SpineBindings.bindings.spine_array_property_id_dispose(nativePtr.cast());
}