JSValue constructor

JSValue(
  1. JSContext context,
  2. JSValueRef _ref, {
  3. bool autoDispose = true,
})

Implementation

JSValue(this.context, this._ref, {bool autoDispose = true}) {
  attach(calloc.nativeFree, _ref.cast(), autoDispose: autoDispose);
}