RFFeatureGetter.fromPointer(super.ptr, [bool attach = true]) : super.fromPointer() { if (attach) finalizer.attach(this, ptr.cast(), detach: this); }