EdgeDrawing.fromPointer constructor

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

Implementation

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