Point.fromPointer constructor

Point.fromPointer(
  1. Pointer<Point> ptr, [
  2. bool attach = true
])

Implementation

Point.fromPointer(ffi.Pointer<cvg.Point> ptr, [bool attach = true]) : super.fromPointer(ptr) {
  if (attach) {
    finalizer.attach(this, ptr.cast(), detach: this);
  }
}