WBDetector.fromPointer constructor

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

Implementation

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