setPointerToDart method

void setPointerToDart(
  1. T converter(
    1. Pointer<Void>
    )
)

设置指针到Dart对象的转换函数,不要手动调用 Set the pointer-to-Dart object conversion function, do not call manually

Implementation

void setPointerToDart(T Function(Pointer<Void>) converter) {
  _pointerToDart = converter;
}