create method
Implementation
Pointer<JSObjectRef.JSStaticValue> create() {
return JSObjectRef.JSStaticValuePointer.allocate(
JSObjectRef.JSStaticValueStruct(
name: name.toNativeUtf8(),
getProperty: getProperty ?? nullptr,
setProperty: setProperty ?? nullptr,
attributes: jSPropertyAttributesToCEnum(attributes),
));
}