TermCriteria.fromPointer constructor

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

Implementation

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