JSValue constructor
JSValue(
- JSContext _ctx,
- JSValueRef _ref, {
- JSValueUnionRef? union,
- String? str,
- bool autoDispose = true,
Implementation
JSValue(
this._ctx,
this._ref, {
JSValueUnionRef? union,
String? str,
bool autoDispose = true,
}) : _unionRef = union,
_str = str?.toNativeUtf8() {
attach(Q_JS_FreeValueAddress.cast(), _ref.cast(), autoDispose: autoDispose);
}