RegionAttachment constructor

RegionAttachment(
  1. String name
)

Implementation

factory RegionAttachment(String name) {
  final ptr = SpineBindings.bindings.spine_region_attachment_create(name.toNativeUtf8().cast<Char>());
  return RegionAttachment.fromPointer(ptr);
}