Bone.from constructor
Copy constructor. Does not copy the children bones.
Implementation
factory Bone.from(Bone bone, Bone? parent) {
final ptr = SpineBindings.bindings
.spine_bone_create2(bone.nativePtr.cast(), parent?.nativePtr.cast() ?? Pointer.fromAddress(0));
return Bone.fromPointer(ptr);
}