JSResolve constructor

JSResolve(
  1. Pointer<JSObjectRef> ref, {
  2. bool autoDispose = true,
})

Implementation

JSResolve(Pointer<JSObjectRef> ref, {bool autoDispose = true}) : _ref = ref {
  attach(calloc.nativeFree, _ref.cast(), autoDispose: autoDispose);
}