MeshAttachment constructor

MeshAttachment(
  1. String name,
  2. Sequence? sequence
)

Implementation

factory MeshAttachment(String name, Sequence? sequence) {
  final ptr = SpineBindings.bindings.spine_mesh_attachment_create(
      name.toNativeUtf8().cast<Char>(), sequence?.nativePtr.cast() ?? Pointer.fromAddress(0));
  return MeshAttachment.fromPointer(ptr);
}