JSContext constructor

JSContext(
  1. JSContextRef _ref, {
  2. bool autoDispose = true,
})

Implementation

JSContext(this._ref, {bool autoDispose = true}) {
  attach(
    JSGlobalContextReleaseAddress.cast(),
    _ref.cast(),
    autoDispose: autoDispose,
  );
}