JSValue.newAtomStr constructor
JS_NewAtom
Implementation
JSValue.newAtomStr(this._ctx, String str, {bool autoDispose = true}) {
_str = str.toNativeUtf8();
_ref = nullptr;
_atom = JS_NewAtom(_ctx.ref, _str!);
attach(Q_JS_FreeValueAddress.cast(), _ref.cast(), autoDispose: autoDispose);
}