JSClassCreate top-level property
Creates a JavaScript class suitable for use with JSObjectMake.
definition
(JSClassDefinition*) A JSClassDefinition that defines the class.
@result
(JSClassRef) A JSClass with the given definition. Ownership follows the Create Rule.
Implementation
final JSClassRef Function(Pointer<JSClassDefinition_> definition)
JSClassCreate =
kLookup<NativeFunction<JSClassRef Function(Pointer<JSClassDefinition_>)>>(
'JSClassCreate',
).asFunction();