PathAttachment constructor

PathAttachment(
  1. String name
)

Implementation

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