newRegionAttachment method
Implementation
@override
RegionAttachment? newRegionAttachment(Skin skin, String name, String path, Sequence? sequence) {
final result = SpineBindings.bindings.spine_atlas_attachment_loader_new_region_attachment(
_ptr,
skin.nativePtr.cast(),
name.toNativeUtf8().cast<Char>(),
path.toNativeUtf8().cast<Char>(),
sequence?.nativePtr.cast() ?? Pointer.fromAddress(0));
return result.address == 0 ? null : RegionAttachment.fromPointer(result);
}