VecRect.fromPointer constructor
Implementation
VecRect.fromPointer(super.ptr, {bool attach = true, int? length}) : super.fromPointer() {
if (attach) {
finalizer.attach(
this,
ptr.cast<ffi.Void>(),
detach: this,
externalSize: length == null ? null : length * ffi.sizeOf<cvg.CvRect>(),
);
}
}