JSGlobalContext.create constructor
JSGlobalContext.create({
- JSClass? globalObjectClass,
Implementation
factory JSGlobalContext.create({
JSClass? globalObjectClass,
}) {
return JSGlobalContext(js_bd.JSGlobalContextCreate(globalObjectClass?.ref ?? nullptr));
}