getAttachment method
Implementation
Attachment? getAttachment() {
final attachment = _bindings.spine_slot_get_attachment(_slot);
if (attachment.address == nullptr.address) return null;
return Attachment._toSubclass(attachment);
}
Attachment? getAttachment() {
final attachment = _bindings.spine_slot_get_attachment(_slot);
if (attachment.address == nullptr.address) return null;
return Attachment._toSubclass(attachment);
}