dispose method

void dispose()

Disposes the (native) resources of this skeleton data. The skeleton data can no longer be used after calling this function. Only the first call to this method will have an effect. Subsequent calls are ignored.

Implementation

void dispose() {
  if (_disposed) return;
  _disposed = true;
  _bindings.spine_skeleton_data_dispose(_data);
}