createWebNatives method
Engine-specific native helpers handed to the Web API layer, or null.
Implementation
@override
Object? createWebNatives() {
_ensureEngine();
final ctx = _ctx!;
final natives = jsNewWebNatives(ctx);
try {
if (jsIsException(natives) != 0) throw _parseJSException(ctx);
return _JSObject(ctx, natives);
} finally {
jsFreeValue(ctx, natives);
}
}